Make sure you remove your <p> using the .remove() function


#1



Can someone help me understand why this is not passing the checker?

https://www.codecademy.com/en/courses/web-beginner-en-v6phg/0/5?curriculum_id=50a3fad8c7a770b5fd0007a1#


Make sure you remove your

using the .remove() function.


$(document).ready(function(){
    var $tag = $("<p>Jordan</p>");
    $("#one").after($tag);
    
    $("#two").after($tag);
    
    $($tag).remove();
});


#2

The SCT is looking specifically for,

$('p').remove();

#3

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