I am building my Markdown Previewer for the FCC Certification project & I get stuck:(
When I try to pass the ‘placeholder’ as the default text in the #editor area, it did render in the #preview area. Yet when i try to type things in #editor, it just messed up and come up something withwhich is totally wrong.
However, if I try to remove the placeholder & change this.state.htmlOutput back to “”, it could function and fulfill the test requirement#4. I just don’t know how to pass the “placeholder” correctly :’<
Could somebody guide me to pass in the placeholder text correctly, such that it could fulfill test requirement #4-6? (default text in #editor & successfully run in #preview) Many Thanks!!! :’(
my project link: