I was implementing “Markdown Previewer” project. I am halfway and my code works fine in JSFiddle. Somehow its not working in codepen.
Can someone help me in running my code?
Thanks in advance.
I have gone through each of your points and I couldn’t find any violation.
It would be really kind if you could point some issue in my code.
I already have some idea on using codepen as I have already completed one project using codepen.
The same code works outside of codepen. That’s where I am really confused.
I am expecting a textarea and a label displayed in the output window.
Following is what I have implemented.
I have created 3 react components, Editor, Preview and Present.
When I change the textarea inside Editor, it should update the Preview with same text.
Present is like a main App, on which the Editor and Preview resides.
I have also used react-redux for updating the Preview on text change in the Editor.
I have updated the title of the topic as it seemed originally that you needed help understanding how to use codepen. Hopefully someone can take a look to give further input.