Just a Question... 8/15


#1

So far, we've been typing in strings, numbers, and booleans into the editor. To do more complex coding, we need a way to "save" these values. We can do this using variables. A variable stores a string, number, or boolean, and gives it a specific, case-sensitive name.

Examples:

var myName = "Beyonce";
var myAge = 32;
var isEven = true
Instructions
In line 1, create a variable called myName and type in your name.

var myName = "My name is here";

drawName(myName);
Why is it in bubbles straight off? How come it isn't in regular text?


#2

Have a look in the index.html file to see all of the files that contain code that this project is linking to.

There is a function called drawName, located in the bubbles.js file, that is making the bubbles.