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

Scotland Class 5 - Ivan Zhukov - JS Week 1 - #170

Closed
zhkvivan wants to merge 4 commits into
CodeYourFuture:masterfrom
zhkvivan:master
Closed

Scotland Class 5 - Ivan Zhukov - JS Week 1#170
zhkvivan wants to merge 4 commits into
CodeYourFuture:masterfrom
zhkvivan:master

Conversation

@zhkvivan

@zhkvivan zhkvivan commented Jul 3, 2021

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: Ivan Zhukov
  • Your City: Glasgow
  • Your Slack Name: Ivan Zhukov

Homework Details

  • Module: JS
  • Week: 1

Notes

  • What did you find easy? Main exercises

  • What did you find hard? Exercises from mandatory folder

  • What do you still not understand? Exercise about tax

  • Any other notes?


View rendered exercises/G-numbers/README.md

@sriram-siv

Copy link
Copy Markdown

Hey Ivan, good work on these exercises.

It's good to remember that when multiplying Math.random() by 10, you will end up with a number between 0 and 10. This is because the Math.random returns a number between 0-1, so [0-1] * 10 = [0-10] .

The tax question can be thought of as writing a function that takes a number (price) as an argument, and returns that 120% of that number (ie. multiplied by 1.2). The second part adds to this by formatting the number - you can add the "$" symbol using the + operator and if you google "toFixed" you can find the method for converting numbers to decimal places.

@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 Aug 20, 2021
@github-actions github-actions Bot closed this Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants