2018-10-12 15:37:13 -04:00
|
|
|
---
|
|
|
|
title: Appending Variables to Strings
|
|
|
|
---
|
2019-07-24 00:59:27 -07:00
|
|
|
# Appending Variables to Strings
|
2018-10-12 15:37:13 -04:00
|
|
|
|
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
---
|
|
|
|
## Hints
|
|
|
|
|
|
|
|
### Hint 1
|
|
|
|
Make sure your spelling and spacing are correct. Appending strings (stored inside variables) can be done like so:
|
|
|
|
```js
|
|
|
|
var adj = "happy!";
|
|
|
|
var sent = "Today, I woke up being ";
|
|
|
|
sent += adj; // The result is "Today, I woke up being happy!"
|
|
|
|
```
|