My issue
this was my solution but it asks me “Did you remove ‘paragraph3’ using DOM?” I don’t understand what is wrong with the solution here.
My code
// Add the code below this line
var removeelement = document.getElementById('paragraph3');
document.getElementById('primary').removeChild(removeelement);
document.getElementById('paragraph1').hidden = true;
Learning course: Web development using JavaScript
Problem Link: Delete or hide elements using DOM in Web development using JavaScript