Const markdown making everything disappear

Trying to complete the markdown previewer. As soon as i add

const markdown = marked(text);

to my code (line 15) everything disappears. i cannot figure out how to fix this

here’s the link to my code pen if anyone wants to take a look

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Build a Markdown Previewer

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.