5. Removing elements - HELP


I've tried a few variations. It's removing the paragraph tag, so why can't I pass the lesson?


    var $para = $('<p></p>');



Hi Eddyerb,

Line 3: You should put some text between your <p></p> tags
Line 6: You need to select p, so change it to this: ...after($('p'));
Line 7: ↑ same thing as above. Change $para.remove(); to $('p').remove();

...and you should get passed! :slightly_smiling: