Greetings. I would like some feedback on my “Random Architect Quote Machine.”
Some questions about my project thus far:
Can you give me specific feedback about what should be included in my React state? Should it just be the random Index?
In the project hints, you mentioned about breaking down the app into multiple React components? Can you talk about how I should do that, instead of lumping everything together in one React component?
What part of the HTML should be included in the React Component (render() return()), and what part should be written straight in HTML? How do I make that distinction?
Math.random is really interesting. Because I’ve only provided 21 quotes, sometimes the same quote is displayed. Is there a way to make sure that the next quote displayed is not the same as the current one? (Is that just a Boolean statement, i.e. nextQuote != prevQuote?)
Thank you in advance. I know these are a lot of questions.