I try to build a random quote app. Problem is that I don’t know why when I press the button it don’t generate any quote from array. App is not near finished (need add more quote, css, random, also random collors for each quote), however i’m stuck at testing the button. What’s wrong
i don’t think you are able to use jquery in the code … try to include the link …( https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js )
also the $.each function takes element by element so the thing you are trying might not work the way you want
Edit : you are going right if you are looking for json btw …
Thank you, now is working. Ofc, it does not input what I want but I can fix it.