Unit 3 first question how to solve?


this is what i have so far.

 var $h1 = $('<p>"hello"</p>');


The exercise does not ask us to include the .ready() wrapper. Just a line that defines the variable.

Since the instructions ask for an H1 element, as the variable name implies, we should be using <h1></h1> instead of paragraph element.

We do not quote strings in HTML elements. Only the outer quotes are needed in a selector.

var $h1 = $('<h1>Hello</h1>');


thank you. i seem to be bad at reading directions.