Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Script Demo</title>
- </head>
- <body>
- <!-- Use variables, strings, prompts, and console.log to ask user the following questions. Responses will be in the Console only, no alerts. -->
- <h1>JS Stalker Exercise</h1>
- <p>Variables, Strings, Prompt, and Console.log</p>
- <ul>
- <li>Ask for the user's first name</li>
- <li>Ask for the user's last name</li>
- <li>Ask for the user's age</li>
- <li>Print out the user's full name in a sentence</li>
- <li>Print out the user's age in a sentence</li>
- </ul>
- <script type="text/javascript" src="script.js"></script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment