Tell us what’s happening:
I cannot import the library. I only added the script tag and the link as the src but do not know how to use the library. couldn’t find any documentation of the library as well.
Your code so far
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<textarea id = "editor" type="text"></textarea>
<p id="preview" >I change as the textarea changes<p>
</body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.7.0/marked.js"></script>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36.
Challenge: Build a Markdown Previewer
Link to the challenge: