Skip to content

Kalilah Clarke#105

Open
KalilahClarke wants to merge 7 commits intojoinpursuit:masterfrom
KalilahClarke:master
Open

Kalilah Clarke#105
KalilahClarke wants to merge 7 commits intojoinpursuit:masterfrom
KalilahClarke:master

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