Please can I ask for some help? I am quite new to this and still getting my bearings… So I thought it would be good to practice React for this project. When I run the tests I occasionally get all of the tests passing, and sometimes I get stuck at User story #6, #7 & #9. When I test the generator I can see that it is working so I am not sure why these tests sometimes do not pass. I get a different outcome each time I run the tests, I’ve even managed to get it with all tests passing once… My project is linked below. Thanks for your help!
User Story #6: On first load, my quote machine displays a random quote in the element with id=“text”.
User Story #7: On first load, my quote machine displays the random quote’s author in the element with id=“author”.
User Story# 9. My quote machine should fetch the new quote’s author when the #new-quote button is clicked and display it in the #author element.
Also , can anyone advise how I can tweet the current quote? (User Story #10: I can tweet the current quote by clicking on the #tweet-quote a element. This a element should include the “twitter.com/intent/tweet” path in its href attribute to tweet the current quote. ) I’ve patched through this one but out of interest would like to know how to do this for future ref.
Thanks!!!
Your browser information:*
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
.
Challenge: Build a Random Quote Machine
Link to the challenge: