UNPKG

javascripting

Version:

Learn JavaScript by adventuring around in the terminal.

32 lines (18 loc) 571 B
--- # STRINGS A **string** is any value surrounded by quotes. It can be single or double quotes: ```js 'this is a string' "this is also a string" ``` Try to stay consistent. In this workshop we'll only use single quotes. For this challenge, create a file named `strings.js`. In that file create a variable named `someString` like this: ```js var someString = 'this is a string'; ``` Use `console.log` to print the variable **someString** to the terminal. Check to see if your program is correct by running this command: `javascripting verify strings.js` ---