What did I do wrong? 4/14


#1

In script.js, add a new line below your code to move your

tag after the

with id #one
create a new jQuery selector that targets the
with the id #two
Using after again, select the

tag you created and move it after the

with id #two

$(document).ready(function() {
$('#one').after("

Hello

");
$('two').after($('p'));
});

$(document).ready(function() {
$p=$("

I'm a paragraph!

");
$('#one').after($p);
$('#two').after($p);
});

Oops, try again. It looks like your

is still after the

with ID #one.

#2

Is not $('#two')

KR
DooKoo


#3

Once I added the # it says:
Oops, try again. It looks like you added more than one

!


#4

It's difficult to know what your code says since any HTML tags are stripped. There is a tool in the tray above the text editor that looks like this,

</>

That's the <pre></pre> tool that lets us post formatted code:

$(document).ready(function(){
    $('#one').after("<p>Hello!</p>"); 
    $('#two').after($('p'));
});

The above is the bare minimum required, as suggested by the instructions.


#6