Task 5 [Try Now]
Objectives:
- Remove the Form and add a notification "Website is Down! Please visit SecurityTube.net"
Ah, this is pretty easy. If you would see we have to overwrite the exisiting form and add the text.
This can be achieved by setting HTMLElement.innerText of form element.
document.forms[0].innerText = "Website is Down! Please visit SecurityTube.net";
The naive approach would be delete the form using Node.removeChild, creating an element and appending the chiild
Just in case you want to add HTML instead of text, see Element.innerHTML
For POC, Click Here