Build a Random Quote Machine--

Tell us what’s happening:

Please have a look at my code, its not passing any of the test cases. what I am doing wrong?

Your code so far Link to my codePen is–

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36.

Link to the challenge:

You’re passing <DisplayTweet /> to ReactDOM.render(), which doesn’t seem to exist anywhere in your code. Maybe you meant <App />?

yes, sorry that was by mistake, I have correct it. Can you please look at the code again beacuse 2 of the test cases are still failing?

You’re missing () after Math.random inside your ask function.

I’m not sure what the purpose of the text input is. Or why it needs to have a value in order to update the app’s state. It’s what’s throwing off the last tests.

Thankyou so much. It’s working now.