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

NW5 - MAZIAR MANSOURI - JAVASCRIPT CORE 1 - WEEK1 - #366

Open
8maziar wants to merge 2 commits into
CodeYourFuture:masterfrom
8maziar:master
Open

NW5 - MAZIAR MANSOURI - JAVASCRIPT CORE 1 - WEEK1#366
8maziar wants to merge 2 commits into
CodeYourFuture:masterfrom
8maziar:master

Conversation

@8maziar

@8maziar 8maziar commented Aug 21, 2022

Copy link
Copy Markdown

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: Maziar MAnsouri
  • Your City: Liverpool
  • Your Slack Name: Maziar

Homework Details

  • Module: Javascript core 1
  • Week: 1

Notes

  • What did you find easy? Mostly

  • What did you find hard? Nested function

  • What do you still not understand?

  • Any other notes?

const nameLength = name.length;

console.log(message);
console.log(`My name is ${name} and my name is ${nameLength} characters long`);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice use of template strings 👍

Comment thread mandatory/4-tax.js

function addTaxAndFormatCurrency() {}
function addTaxAndFormatCurrency(price) {
let tax = (price * 20) / 100 + price;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You could reuse the calculateSalesTax() function here

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