Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kalilah Clarke #105

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

KalilahClarke
Copy link

No description provided.

@KalilahClarke
Copy link
Author

Still working on it but wanted to show some type of work, in the time being.

Comment on lines 35 to 36
let answer1 = ["A", "B", "C"];
while (answer1 !== null) {

Choose a reason for hiding this comment

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

What do you want this while loop to do ?
answer1 is never going to null because you are defining it in line 35 and assigning it some value/data

Comment on lines 48 to 58
switch (location) {
case "A":
toSchool();
break;
case "B":
stayHome();
break;
case "C":
hangWithFriends();
break;
default:

Choose a reason for hiding this comment

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

Great use of the switch case !

Comment on lines 79 to 80
let answer1 = ["1", "2"];
while (answer1 !== null) {

Choose a reason for hiding this comment

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

answer1 will never be null here as well

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.

2 participants