* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
436 B
436 B
title
title |
---|
Constructing Strings with Variables |
Constructing Strings with Variables
Hints
Hint 1
Add variables that store strings, to create longer strings. Make sure your spelling and spacing is right.
var myName = "Bobby";
var myFavLetter = "B";
var sentence =
"Hello, I'm " + myName + ". My favorite letter is " + myFavLetter + ".";
//The result is "Hello, I'm Bobby. My favorite letter is B.