Here’s a link to my Project:
Link to Repo:
It didn’t take me long, a couple of hours, but I didn’t want to spend too long doing this at the moment.
I did everything through VSCode on PC (using the built-in terminal).
The quotes are stored in objects inside of an array, and I use a random number generator to select which object to display the information for.
The function is triggered when you click on the button, and the function edits the innerHTML of the message/button and src for the image.
I’m still getting used to using branches. I keep forgetting to switch… oops.
At some point soon, I plan to improve this by:
Making it so quotes don’t repeat.
Adding more quotes.
Making the Image the same size each time.
Tidying up the Code, adding more comments.
Add more info to the README
(It’s also day 30 since I joined Codecademy, and started the 30 day challenge! woo!)