Is this right?


#1

Guys iam stuck at something
Instructions:Go ahead and add a

tag .after() the

with the ID #one. You can place any text you like in your

tag

My code

$(document).ready(function()
    $('<p>Iam learning Coding</p>').after('#one');
})

I even do it like this

$(document).ready(function()
    $('#one').after('<p>Simple text</p>');
})

Still the same problem

Errors:Oops, try again. It looks like you didn't insert your <p> after the <div> with ID #one.


#2

The above is almost correct. Just missing an opening curly brace on the handler function.


#3

Omg thank you so much

console.log("You are the best");

#4

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