Markdown Previewer project help

Hey I have done the Markdown Previewer and things look good to me and is working as it should in the sample site. But I am not able to pass two User Story.
Can anybody please help me understand what is wrong with my code and what I am expected to do in these 2 user stories.

This is the link to my codepen:-

https://codepen.io/agrawalparul2/pen/wvoerdb

User Story #4: When I enter GitHub flavored markdown into the #editor element, the text is rendered as HTML in the #preview element as I type (HINT: You don’t need to parse Markdown yourself - you can import the Marked library for this: marked - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers).

Optional Bonus (you do not need to make this test pass): My markdown previewer interprets carriage returns and renders them as br (line break) elements.