Type 1 + 1 and then press Return (Mac) or Enter (Windows).
The browser gives you the answer on the next line.
Before you get started, clean up the console and remove any previous commands, errors, and return values in there. To clear the console, look at the upper-left corner and click the circle with the line through it. Everything inside the console will be erased, and now you’ve got a clean slate.
|2000 – 37||This is a simple math problem, but this time you’re using the
minus sign to subtract the number on the right from the number on
the left by the number on the right.
name“ + “ “ + “
command that adds words together, it’s called
concatenation. The result will be that the words are
combined into a single word.
These quotes are very important.
|Your name +
bit. It returns an error message containing the keyword SyntaxError. A syntax error means that you’ve
syntax error, it means that you’ve goofed. Take a close look at
your code and look for typos, missing punctuation, or missing