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

South Africa - Aitken Fortuin - JavaScript-Core-1-Coursework-Week1#53

Closed
SerialCarKey wants to merge 4 commits intoCodeYourFuture:masterfrom
SerialCarKey:master
Closed

South Africa - Aitken Fortuin - JavaScript-Core-1-Coursework-Week1#53
SerialCarKey wants to merge 4 commits intoCodeYourFuture:masterfrom
SerialCarKey:master

Conversation

@SerialCarKey
Copy link
Copy Markdown

Completed first exercises

Your Details

  • Your Name:
  • Your City:
  • Your Slack Name:

Homework Details

  • Module:
  • Week:

Completed first exercises
Copy link
Copy Markdown

@ShawenHarker ShawenHarker left a comment

Choose a reason for hiding this comment

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

Hi Aitken,
Nice work man, really clean code, easy to read and understand what you are doing, but just a pro tip, when you abbreviate your names, can you make it a slight but more clear.
Keep up the good work man.

Copy link
Copy Markdown

@sinopungula sinopungula left a comment

Choose a reason for hiding this comment

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

Just completed my review. Awesome, clean work. Great job!

var numberOfMentors = 8;

let Total = numberOfMentors + numberOfStudents;
let TotalNOS = numberOfStudents / Total * 100;
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! Love the use of abbreviations, creative.

total = a ++ b;

return "The total is total"
total = a + b;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi Aitken! This is David, your edu buddy, how are ya? While this code works, keep in mind that this is a global variable. Declaring a global variable like this inside a function is discouraged. You can read this https://stackoverflow.com/questions/10525582/why-are-global-variables-considered-bad-practice, or reach out to me if you have more questions.

Comment thread mandatory/4-tax.js

function calculateSalesTax() {}
function calculateSalesTax(sales) {
return sales + (20 / 100) * sales;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can we do this in simpler way?

@github-actions
Copy link
Copy Markdown

Your coursework submission has been closed because nobody has interacted with it in six weeks. You are welcome to re-open it to get more feedback.

@github-actions github-actions bot added the Stale label May 13, 2021
@github-actions github-actions bot closed this May 13, 2021
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.

4 participants