Markdown Previewer Project Feedback

Markdown Previewer Project Feedback
0

#1

Here is my Markdown Previewer: https://codepen.io/donnacamos88/full/BqLVyV/.
I’d appreciate any feedback I can get. I’m really struggling to get my head around React and any help in understanding it better would be greatly appreciated. Let me know what you think!


#2

looks great ans it’s working, well done.
it fails some tests tho


#3

I noticed this but I couldn’t understand how. Do you have any suggestions as to what I’m doing wrong? I’ve been working on this for a week now and I can’t understand how if it’s functioning properly why the test isn’t passing.


#4

Ok i figured this out.

you should render inside the #preview element. you seem to render in a different div element.

(thanks to you i found out about showdown library, thx)


#5

I tried placing two divs together:

         <div id='preview' dangerouslySetInnerHTML={this.createMarkup()}
        className='col-xs-10 col-xs-offset-1 full-height'/>

But the test still didn’t pass. Where am I supposed to render the #preview element?
I’m sorry. I’m very new to react and showdown. Showdown seemed simple until I added react on top of it.