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

Muhammad Jalabi
Muhammad Jalabi
5,624 Points

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

http://w.trhou.se/s4207exclz

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,689 Points

Check this line:

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

You have an uppercase O in Content which should be lowercase