Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

London 10-Danny Romero-JavaScript-Core-1-coursework-week2 #447

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

Conversation

Elenar9
Copy link

@Elenar9 Elenar9 commented Mar 2, 2023

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name:Danny Romero
  • Your City:London
  • Your Slack Name:Elenar9

Homework Details

  • Module:JavaScript
  • Week:2

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

@Elenar9
Copy link
Author

Elenar9 commented Mar 2, 2023

I finished the extra exercise


if (isBigEnough) {
if (isBigEnough > 10) {
return "num is greater than 10";
} else {
return "num is not big enough";

Choose a reason for hiding this comment

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

Comment: Well done! You code is same as mine and should work.

console.log(numberOfLoops);
numberOfLoops = numberOfLoops + 2;
}
}

Choose a reason for hiding this comment

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

Comment:
You have labelled the values different than me but the function is the same. Well done!

Mine:
function printOddNumbers(limit) {
let num=1;
while(num<limit){
console.log(num);
num=num+2;
}
}

}else {
return "You Don't Need To Register"
}
}

Choose a reason for hiding this comment

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

Comment: A stylistic thing. Sometimes you have spaces between code blocks and sometimes not. Compare Line 68 (age<12){
But on line 71 (age> 12 && age<90){

update exercise 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants