- Fork this repo
- Clone the forked repository
cd
to the directory where you cloned itnpm install
to install dependenciesnpm test
to open the cypress testing window
Note: Remember to
git add
,git commit
andgit push
regularly
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
, orprogramming
and 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.