You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your app builds on these files (you can make changes to any of them)
When the requestedJokeInput has a value matching the key of an existing joke, the jokeBox HTML is updated in this format
When the requestedJokeInput does not match an existing joke, the jokeBox content is updated to No matching joke found.
When the Remember this joke! button is clicked, a new joke is saved (or overwritten) in the jokes object, using the data in the associated input/textarea elements
When the Forget about it! button is clicked, the joke with that key (if any) is deleted from the jokes object
Whenever the jokes object changes, the new version is saved in localStorage and used whenever the user visits the page again
It's impossible for an error to ever occur in the JavaScript console
The text was updated successfully, but these errors were encountered:
@stuartpearman Can you take a look at this? It's hosted here and meets the following criteria:
requestedJokeInput
has a value matching the key of an existing joke, thejokeBox
HTML is updated in this formatrequestedJokeInput
does not match an existing joke, thejokeBox
content is updated toNo matching joke found.
Remember this joke!
button is clicked, a new joke is saved (or overwritten) in thejokes
object, using the data in the associatedinput
/textarea
elementsForget about it!
button is clicked, the joke with that key (if any) is deleted from thejokes
objectjokes
object changes, the new version is saved inlocalStorage
and used whenever the user visits the page againThe text was updated successfully, but these errors were encountered: