I’ve checked over my code from other people’s assessments on here and from what I can see it looks correct but nothing is happening on the website.
Is anyone able to please help point out what I have missed.
Thank you.
This is my link below, but no space between / BaQ… not sure how you share the link properly from code pen as it came up with an error when i tried to just share the link as you can see below.
I have never shared a codepen so here is mine. Let me know if you can see mine. If you can share your code or the error you get maybe we can talk through the problem.
Hi @Leanne_Smith
I dont want to take away the challenge of solving this from you so will point you to the right direction. On Codepen open up the console i.e. press F12. Then see what the error you get is. What I see is
Uncaught ReferenceError: newStory is not defined
So then ask yourself where are you initialising newStory? You asign the storyText to it but it then you also asign the newStory to the story.TextContent which is outside the function. Javascript is basicaly saying that the newStory is out of scope, i.e. it is undefined. Does this make sense?