Just a Question... 8/15


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.


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

var myName = "My name is here";

Why is it in bubbles straight off? How come it isn't in regular text?


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.