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

WM_4-Joanna_Jurczuk-JavaScript-1 - #312

Closed
joannajurczuk94 wants to merge 3 commits into
CodeYourFuture:masterfrom
joannajurczuk94:master
Closed

WM_4-Joanna_Jurczuk-JavaScript-1#312
joannajurczuk94 wants to merge 3 commits into
CodeYourFuture:masterfrom
joannajurczuk94:master

Conversation

@joannajurczuk94

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: Joanna Jurczuk
  • Your City: Birmingham
  • Your Slack Name: joannajurczuk

Homework Details

  • Module: Java Script
  • Week: 1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

@Nagehan1 Nagehan1 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.

hi Joanna,
In introduceMe function, if you define name and age variable you can use this function with different variable

@nholdsworth94 nholdsworth94 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey Joanna,
This homework is syntactically fantastic, very well done!
Just be careful about your spaces - look at the tests that haven't passed to see what I mean
Try updating your code to get the tests to pass if you get time :)

Comment on lines +6 to +7
var message = "string";
var messageType = typeof message;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

be careful declaring variables with the same name several times as it will cause an error

Comment thread mandatory/4-tax.js Outdated

function addTaxAndFormatCurrency() {}
function addTaxAndFormatCurrency(productPrice) {
let productTax = productPrice * 0.2;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you could have used the function above, e.g.
let productTax = calculateSalesTax(productPrice);

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