JavaScript jQuery Basics Introducing jQuery Blog Previewer: Getting Values from Form Fields

Why is the blogContentPreview not displaying?

I have followed the video but for some reason the content isnt displayed when i press the submit/save button. How come? :S

1 Answer

Check this line:

const content = $("#blogCOntentInput").val();

You have an uppercase O in Content which should be lowercase