Hello everyone,
I’m really stuck since 3 days with this. I wanted to do it on my own but I feel discouraged now. Don’t know how to proceed, with Json or not, jquery or not… If someone could tell me what is the next step.
Here’s is my code. my random quote machine
Tkanks
If you want you can search for an api and make a request to it with $.getJSON().
$.getJSON()
Or you can simply use an array of quotes. You already have the click handler, so every click you take another quote from the array you created.
Thanks for your answer Ben, I’ll try to figure this out with an array even if it seems better to use an api with JSON.