3/14 For or while



My code keeps coming back saying "Oops, try again. There was a problem with your syntax. SyntaxError: missing variable name" I can't understand what they mean. Help!

// Write your loop below!
for (var 1 = i; i < 11; i++) {
    console.log("Great job!");
var myName = true
while (myName.length < 6) {
    console.log(myName === "Abri");
    myName = false;


this line:

for (var 1 = i; i < 11; i++)

you want to assign the variable i to number a number (1)? I would personally swap this. I would assign a value of one, to a variable called i

In your while loop, why use length? myName holds a Boolean value, so you can do:

while (myName){

and why do a comparison inside a console.log? I would just log a string to the console: