Why it no works? 3/2


$('body').append('<p>I am a paragraph!</p>');

it says that no add the <p> tag to the <body> tag


Can you post your CODE here/


You cannot just append text to the body it has to be paragraph or heading.


$("body").append("<p>I\'m a paragraph!</p>");



Because you didn't make the document active.
The code should be like this:

$(document).ready(function() {
$('body').append('<p>"I\'m a paragraph!"</p>');

That will be Ok.