Question: Create an HTML page with whatever content you want. There should be a button that when the user clicks it, a popup box appears and
Create an HTML page with whatever content you want.
There should be a button that when the user clicks it, a "popup" box appears and asks them for their name. They type their name in the input field within that box, then click a button in the box that says "Enter." There should also be a button "Cancel" to just close the box.
If the user enters a name, then have some fancy welcome message. If they click Cancel OR they leave a blank name, then do nothing.
You must code this popup from scratch using HTML, CSS, and JavaScript. You cannot use any built-in JavaScript popup boxes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
