Skip to content

KishonStClair - Fatima - #22

Open
dazamg wants to merge 1 commit into
TaylorDarneille:masterfrom
dazamg:master
Open

KishonStClair - Fatima#22
dazamg wants to merge 1 commit into
TaylorDarneille:masterfrom
dazamg:master

Conversation

@dazamg

@dazamg dazamg commented Aug 29, 2020

Copy link
Copy Markdown

No description provided.

Comment thread KishonStClair.js.txt
//
for (var i= 0; i <= 10; i++) {
console.log("Love me, pet me! HSSSSSS!");
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you try part 2 to this problem?

Comment thread KishonStClair.js.txt
else if (i % 3 === 0) console.log("Fizz");
else if (i % 5 === 0) console.log("Buzz");
else console.log(i)
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works, but it's important to use those curly brackets after your if (condition) and else if (condition).

also, when I ran this, I got an error in line 44. see if you can figure out what it is!

@ghost

ghost commented Sep 9, 2020

Copy link
Copy Markdown

nice work overall here! your code is well-indented and easy to read. make sure you test your code before submitting, though. there's a syntax error in your fizzbuzz problem that you would have caught if you had run it. other than that, looks good, so I'm marking complete 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant