Front End Development Libraries Projects - Build a Markdown Previewer

What happenned:
I have sent my code to freecodecamp, I spent about 3 days trying to import and use the “marked” function in many ways, but nothing worked for me so I made the project with showdown. I think it works correctly, I have checked the forum these 3 days and I saw that many people had the same error and they couldn’t fix it.

My currently code

Information of my navegator:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Proyectos de librerías de desarrollo de la interfaz - Crea un previsualizador de Markdown

Link of the challenge:

It should just be able to use the parse method and pass in the text to convert, like marked.parse(text).