1.4 - User Input
Review
Web browsers run a language called JavaScript. It has syntax similar to C, C++, C#, Java.
We can output text, numbers, and values of variables to the console with console.log()
We can create variables with the let keyword.
We can do mathematics, store answers in variables, and give output to the screen using those variables.
Food for Though:
What will this print: console.log("2 + 2")
What will this print: console.log(12 / 3)
What will this print: console.log(5 + "2")
Users interact with computers in many ways. Your keyboard, mouse or trackpad, microphone, touchscreen, and stylus are all different ways that we provide input to the computer. We click on things we see or use keys on the keyboard to control an object or enter text.
We're going to start with entering text.
The full lesson is here: 1.4 - User Input