Skip to content

Complete week3 assignment - #11

Open
sheskedar-lab wants to merge 1 commit into
HackYourAssignment:mainfrom
sheskedar-lab:main
Open

sheskedar-lab wants to merge 1 commit into
HackYourAssignment:mainfrom
sheskedar-lab:main

Conversation

@sheskedar-lab

Copy link
Copy Markdown

No description provided.

@sarlam
sarlam self-requested a review November 23, 2026 13:44

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

Amazing work this week

The only thing I would like to point out is that out of the box the task-4 does not work anymore, we have to install prompt-sync to make it work

I consider this approved since the core part (removing DRY, string parsing and data computes) are well done, congrats

Comment thread task-4/cleanup.js
// let windChill3 = 13.12 + 0.6215 * tempCelsius3 - 11.37 * Math.pow(windSpeed3, 0.16) + 0.3965 * tempCelsius3 * Math.pow(windSpeed3, 0.16);
// console.log("Wind chill in " + cityName3 + ": " + windChill3.toFixed(2) + "°C");

import promptSync from "prompt-sync";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It is a really nice addition and a big kudo towards going an extra mile introducing an interactive approach

Unfortunately this is breaking the script, if we want to keep this, then we would need a package.json to import the package from npm

Could you either remove it entirely and go back to the fix values of the example or add the package.json?

Comment thread task-4/cleanup.js

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Once the prompt-sync is installed, this works brilliantly

@sarlam sarlam added the Reviewed This assignment has been reivewed by a mentor and a feedback has been provided label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants