Exercise 1.2
Building strings
author(s):
Cameron King
HTML
<script src="https://ckxng.github.io/cub-scout-coding/lib/easy.js"></script>
<p>
The words inside of the double quotes (") are called strings. Strings are
words and letters that are put together. "Hello world!" is an example of a
string.
</p>
<p>
You can build strings by adding more than one string together. You can also
add numbers to strings. Take a look at the examples below. Can you think of
some creative ways to build a string? Try building a string using your first
and last name!
</p>
JavaScript
say("Hello "+"world!");
say("JavaScript was invented in "+1995+".");