Hello I’m trying to start with the “random quote machine” project but I have problems setting up the environment:
If I use codepen, I can’t get to work the simple example code from the Jquery/Json lessons (cat photo finder).
Until I don’t understand why it is not working I cant go ahead… please help me, https://codepen.io/rhinoted/pen/pRqexK
the code is from this lesson, it should change the text https://www.freecodecamp.com/challenges/change-text-with-click-events
Thanks @LordMathis, I had no idea!
How can I work it out in the text editor instead of codepen? this is my basic HTML page setup, where should I put the jquery code of the previous example? And should I add the jquery file also in the header?
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- Include all compiled plugins (below), or include individual files as needed -->