Let's get started with a JavaScript Prompt Web Page!
- Login into your Code.Org account.
- Click on your name.
- Choose: My Projects
- Click on your My First Web Site project.
- Click on the Add HTML button.
- Right click on: new-4.html
- Choose: Rename
- Name this file: javascript.html
- Delete all the lines in this file.
- Copy the JavaScript Prompt Page Template (HTML) code (below).
- Paste that code into your
form.html
file.
- Change your page title, your Author name, and your page heading to something appropriate
- Click: Refresh and Save
JavaScript Prompt Page Template (HTML)
Example