Hello fellow campers,
I just finished my Random Quote Machine project. I tried to keep the design simple and used an array of self-picked King of the Hill quotes for the project. Any feedback on any part of the project would be greatly appreciated. Thanks in advance!
Project Link- https://codepen.io/markopolo91/full/ypzoya
Hey, the project is good and fulfills the user-stories. But, sometimes, I have to click twice on the ‘new quote’ button to generate a quote.
Thank you for the feedback! In my testing, I believe this issue pops up because I have an array of 20 quotes so when the function acquires a random number, there’s a chance it is the same random number as the previous (resulting in the same quote being displayed). I definitely want to try and see if there is a way to correct this behavior.