I have built a random quote machine, which was no easy feat in itself. I’ve learnt about the fetch API on my own to be able to use the external quotes source. Now I have a very basic quote machine backbone, but it does not seem to render to the page. I am a bit puzzled as to why it is happening as it is not passing any tests. Please don’t mind the absence of design as I wanted to take care last, I am very keen to understand the functional component first.
Then you don’t have to import React or anything. It’s automatically available. So after you add react and react-dom you’ll have to fix one small error with handleChange and it should render. It did render for me at least
thanks a lot @sitek94 I have done as you recommended (added dependencies in JS).
Then I took a good look at the handleChange… and could find nothing. I am not sure what’s wrong with is? Thanks in advance!
No need to spend few hours on them Just start using them and you’ll get more comfortable with time. It’s very powerful tool, I have it open literally all the time.