- Fork this repo
- Clone the forked repository
cdto the directory where you cloned itnpm installto install dependenciesnpm testto open the cypress testing window
Note: Remember to
git add,git commitandgit pushregularly
Use the Official Joke API and fetch to build the site described below:
- A list of ten jokes that are randomly loaded when the page is refreshed, each with the
"card"class - Clicking on a joke card should expand it and reveal the punchline
- Clicking on it again should contract it and hide the punchline
- A button with id
"reload"that clears all the jokes on the screen and loads new random ones
- Have a select at the top for either
general,random, orprogrammingand only load jokes of that type - Keep track of all of the jokes the user has seen so far, and don't show them the same joke twice when they click a button for new jokes
- When finished, commit and push your work.
- Make a pull request on github.
- Submit the link to your pull request on Canvas.
