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


#1


#2

I solved this problem recently.
It must be such:

var $paragraph = $("

Daulet

");
$(document).ready(function(){
$("#one").after($paragraph);
$("#two").after($paragraph);
})

#3

Use this:

var $paragraph = $('<p>Yes!</p>');

$(document).ready(function() {
    $('#one').after($paragraph);
    $('#two').after($paragraph);
});

#4

Thank you for help, I solved already