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

London Class 8 - Harsheek Thanki - JavaScript Core 1 - Week 1 - #281

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

London Class 8 - Harsheek Thanki - JavaScript Core 1 - Week 1#281
HThanki wants to merge 3 commits into
CodeYourFuture:masterfrom
HThanki:master

Conversation

@HThanki

@HThanki HThanki commented May 20, 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: Harsheek Thanki
  • Your City: London
  • Your Slack Name: harsheek thanki

Homework Details

  • Module: JavaScript Core 1
  • Week: 1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

@HThanki

HThanki commented May 20, 2022

Copy link
Copy Markdown
Author

Hi @jackhclee, please could you review this older PR when you get a chance please. Thanks

Comment thread extra/3-magic-8-ball.js
...negative,
...veryNegative,
];
return allAnswers[Math.round(Math.random() * allAnswers.length)];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you so much for your resubmission and I should have found out it much earlier! Nice and quality work as before. Refer to line 80, the function should log "The ball has shaken" to console when it is called

Comment thread extra/3-magic-8-ball.js
There are some Tests in this file that will help you work out if your code is working.

To run the tests for just this one file, type `npm test -- --testPathPattern 3-magic-8-ball` into your terminal
To run these tests type `npm run extraTo run the tests for just this one file, type `npm run extra-tests -- --testPathPattern 3-magic-8-ball` into your terminal

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 need to change the package.json if you want to run all tests. See Marina's work for the changes on the 3-magic-8-ball.js and package.json

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.

3 participants