Augment your cipher.html page so that it can both encode and decode messages. You will need to

Question:

Augment your cipher.html page so that it can both encode and decode messages. You will need to define a new function named Decode, which decodes the message in the text area using the entered cipher key. You should also add a second button labeled "Decode the message" that calls this new function when it is clicked.

Once you have done this, test the page by decoding the messages you encoded in Exercise 15.13.

As an additional test, decode the following message using the Mystery cipher defined in a previous section:

Egfukqzxsqzogfl - ngx rtegrtr zit dtllqut!

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: