Help in Lesson 3 Modifing HTML Elements


I need help.

Place I'm stuck at:

I'm getting this message: "Oops, try again. It looks like your

is still after the

with ID #one. "

Replace this line with your code. 

var $paragraph = $('p');


The first line should create and insert an HTML element.

$('#one').after("<p>I'm a paragraph.</p>");

When this line is run, a new paragraph element appears just below the DIV with id 'one'.

Now we can target it with a selector, and being the only P-node in the page, it will be found. Then we move it.


Now it will have disappeared from its first place, and reappear below the DIV with id 'two`.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.