User Interactions
This lesson explains the ways to interact with the user via JavaScript.
We'll cover the following...
Entering information
Once you start using variables, you can write programs that exchange information with the user.
During execution, a dialog box pops up, asking for your name.
This is the result of the JavaScript command prompt("Enter your first name:")
.
Type your name and click OK. You’ll then get a personalized ... ...
Access this course and 1400+ top-rated courses and projects.