This is my first post. I’ve been struggling with the “Build a Random Quote Generator” challenge for five days now and made next to no progress. After completing all the lessons leading up to it, I feel egregiously unprepared for this challenge. I did some searching, found this tutorial and followed it:
So, I’m now lost. I’m not convinced the code is the problem, and it might be something Codepen specific. Or maybe I just totally don’t get it and should back up and retake some of the lessons, but I don’t know where to start with that either, because, like I said, this challenge feels like it’s full of stuff the lessons barely touched on, if at all.
I need really some kind of guidance. I need to see the functional bits working, without being clouded with aesthetic stuff. Or, maybe I’m just fundamentally misunderstanding something about using codepen. If I export from codepen and try to execute locally with safari, I’m told “ReferenceError: Can’t find variable: math”. I thought math was a built in function.
This is the link to my pen:
It’s almost an exact copy of the tutorial above, but doesn’t work. I haven’t fussed with API’s or the twitter thing at all yet, I’m still just trying to generate quotes. I’m stuck at a dead end. Can someone help?