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

WM4 - Kerim Zamir - JS - Week 1#320

Closed
Arbeits-Sachen wants to merge 45 commits into
CodeYourFuture:masterfrom
Arbeits-Sachen:master
Closed

WM4 - Kerim Zamir - JS - Week 1#320
Arbeits-Sachen wants to merge 45 commits into
CodeYourFuture:masterfrom
Arbeits-Sachen:master

Conversation

@Arbeits-Sachen
Copy link
Copy Markdown

@Arbeits-Sachen Arbeits-Sachen commented Aug 1, 2022

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: Kerim Zamir
  • Your City: Birmingham
  • Your Slack Name: Kerim Zamir

Homework Details

  • Module: JS
  • Week: 1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

Comment thread extra/2-piping.js
Comment on lines +47 to +49
let goodCode = 0;
goodCode = "£" + ((goodCode + startingValue) * 12);
console.log(goodCode);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

another option

const result = format(multiply(add(startingValue, 10), 2))

return Math.random() * 10;
function getRandomNumber()
{
//This function gets a random number between 0 and 1 and returns the result after multiplying the random number and the 10.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
//This function gets a random number between 0 and 1 and returns the result after multiplying the random number and the 10.
Return a random float between 0 and 10

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.

3 participants