Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 571 Bytes

File metadata and controls

31 lines (18 loc) · 571 Bytes
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 5 column 34
---

# 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`

---