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

ZA2 | JavaScript-core1-week1 by Advocate - #286

Closed
AdvocateM wants to merge 8 commits into
CodeYourFuture:masterfrom
AdvocateM:master
Closed

ZA2 | JavaScript-core1-week1 by Advocate#286
AdvocateM wants to merge 8 commits into
CodeYourFuture:masterfrom
AdvocateM:master

Conversation

@AdvocateM

Copy link
Copy Markdown

The title for your pull request should be made in this format

Cape-Town-2- Advocate Maroga - JavaScript-Core-1-Week1

Your Details

— Your Name: Advocate
— Your City: Cape Town
— Your Slack Name: mrmaroga

Homework Details

  • Module: javascript-core-1
  • Week: week1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

@AdvocateM AdvocateM changed the title JavaScript-core1-week1 by Advocate ZA2 | JavaScript-core1-week1 by Advocate Jun 29, 2022
Comment thread exercises/J-functions/exercise.js Outdated
return number - 6;
}

var result = halve(12);

@Xolani-M Xolani-M Jun 29, 2022

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey Advocate,

Your code only works in a condition where the argument is equal to 12, when i put halve(24) or any other number except 12 it won't meet the requirement. Consider using a different operator instead of the (minus) operator for your code to work in different conditions. Overall you on the right track, well done.

Thanks

@AnthonyMogotlane AnthonyMogotlane left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep up the good work Advocate.

Comment thread exercises/I-floats/exercise.js Outdated
Comment thread mandatory/3-function-output.js
Comment thread exercises/E-strings-concatenation/exercise.js

@AdvocateM AdvocateM left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Modified

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.

5 participants