Markdown Previewer help [react hooks]

I have created a basic skeleton for the challenge using react hooks, but user stories 5 and 6 are failing.
Can anyone help me why those tasks are failing.

My code so far :

Your browser information:

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

Challenge: Build a Markdown Previewer

Link to the challenge:

Welcome, yasiraffan.

Did you read the error messages:

write some markdown representing a codeblock, i.e. <pre><code>...</code></pre> : expected false to be true

#preview does not contain at least one <pre> : expected 0 to be at least 1

They are very detailed, and tell you exactly what to do…

Hope this helps

Thanks for the help !

My bad, I didn’t read error messages carefully.