This is a web programming assignment. Assignment (Boolean Secret Message) Our p

Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.

ORDER THIS OR A SIMILIAR PAPER NOW

 

This is a web programming assignment.
Assignment (Boolean Secret Message)
Our pirates are attempting to send a secret message between two ships by writing an encrypted message on their flags. Given two pre-made methods (parseAscii, and parseBin) Prompt the user for a single character, convert the character to ascii using the given parseAscii function, then convert the ascii into an 8-digit binary number using the parseBin function. Store each of the individual 1’s and 0’s of the binary number into an array using the split method. Finally, loop through the array and for every element write “true” to the page if 1 and write “false” to the page if 0. Here is a sample file with the given functions we have made for you. The reading pages above contain lots of helpful hints for completing this assignment.
Prompt the user for a single character.
Loop until valid data is entered.
Use parseAscii() to assign the ascii value of that character to a variable with the int prefix.
Use parseBin() to convert the ascii value to a binary value. Store the result in another variable.
Store each of the individual 1’s and 0’s of the binary value into an array using the split() method.
Loop through the array of binary digits, and output “true” for each 1 and “false” for each 0 to an element on your page.
– Important Procedures for All Labs
Here are some general notes for perfection that you should follow for every assignment:
Please produce all web content to HTML5 standards.
Please validate all your files.
Be sure to update the header block comments for each file.
Be sure to check your browser’s console / developer tools for error free code.
Test your code in Chrome and Edge at a minimum.
Use only your own original code for all labs.
Be sure to put your CSS and JavaScript in a separate files from your html.
Be sure to read through the lab rubric in Canvas.
Submit lab for grading.

ORDER THIS OR A SIMILIAR PAPER NOW