Hi. Any assessment would be appreciated.
conditionalsOne
conditionalsTwo
conditionalsThree
conditionalsFour
There are a few things I find worth to mention.
- In Conditionals 2 explanation,
Score of 20 to 39 — "You know some things, but it's a pretty bad score. Needs improvement.
"
it’d be nicer to change it's
to it\'s
, as is in
Score of 70 to 89 — "That\'s a great score, you really know your stuff."
to kill syntax error.
- I changed some of default code in conditionals 3 to make my program works.
In conditionals 3 code,
...
let machineActive = false;
if (machineActive) {
// Add your code here
...
}
Since machineActive
is false
by default, I’m not sure how I can execute codes inside the block, so I changed the expression to !(machineActive)
.
Also, since case
takes only one value, I had to put awfully long codes to include all integers from 0 to 100. I’m not sure if that’s what this question has asked, so please have an extra assessment on this matter and correct me if I’m wrong.
Those are my comments. As always, thank you for your time and have a great day!