Markdown Preview Challenge | test 4 error


Here’s my project: markdown-previewer.
I’m struggling with passing the 4th test. I feel like everything is working properly but clearly I’m missing something.

Okay, I just realised that assigning a class to ReactMarkdown causes a creation of div element within the #preview div, meaning, the content was getting generated in that nested div instead of the #preview one

1 Like

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