Number 4 moving elements around


#1

not getting the hang of this at all
code will not go through
,

where am i going wrong pls


#2

HI not so sure but, the error is saying that you add more than one <p> tag so try to remove one.


#3

didnt work more syntax errors but thks anyway


#5

In the lesson they gave you that… @ednamodenocapes


$(document).ready(function() {
	$('#one').after('<p>I done it!</p>');


});

then they aske you

2 create a new jQuery selector that targets the <div> with the id #two

var $div = $('p')

3 Using after again, select the <p> tag you created and move it after the <div> with id #two

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

HOpe that could help you


#6
      $(document).ready(function(){

    $('#one').after('<p>hello</p>');
    $('#two').after('<p>world</p>');



    var $text = $('hello'); 
    $('#one').after($('p')); 

    var $text = $('world'); 
    $('#two').after($('p'));
    });




#7

Arh I didnt understand the question. Thks for your help


#9