Get stuck


#1


https://www.codecademy.com/courses/web-beginner-en-v6phg/0/4?curriculum_id=50a3fad8c7a770b5fd0007a1#


Oops, try again. It looks like your <p> is still after the <div> with ID #one.

Greetings

Div #1
This is the paragraph!

Div #2
p

$(document).ready(function() {
    $('#one').after('<p>This is the paragraph!</p>');
    $('#two').after('p');
});


#2

This part is wrong you select a paragraph like so: ($('p'));
so:

 $('#two').after($('p'));

#3

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