Repository navigation
Complete week3 assignment - #11
sheskedar-lab wants to merge 1 commit into
Conversation
sarlam
left a comment
There was a problem hiding this comment.
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
| // 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"; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Once the prompt-sync is installed, this works brilliantly
No description provided.