Hello Guys, I’ve been doing the JavaScript Libraries Certification and I have
troubles with the challenge #2, the Previewer Markdown. I have no idea what’s wrong with it. It doesn’t even pass the textarea value to the previewer. I’ve thought it was right, but isn’t. I’m getting frustrated as I don’t know how and WHAT to fix. I was wondering if you could help me, I’d be very glad.
-
Remove the imports and export
-
In the JS settings move the ReactDOM script loading placement down after the React script.
-
Use
marked.parse()
for the markdown.
Thanks!! I didn’t know what was wrong with it!