diff --git a/1-js/02-first-steps/10-ifelse/4-check-login/ifelse_task.png b/1-js/02-first-steps/11-logical-operators/9-check-login/ifelse_task.png similarity index 100% rename from 1-js/02-first-steps/10-ifelse/4-check-login/ifelse_task.png rename to 1-js/02-first-steps/11-logical-operators/9-check-login/ifelse_task.png diff --git a/1-js/02-first-steps/10-ifelse/4-check-login/ifelse_task@2x.png b/1-js/02-first-steps/11-logical-operators/9-check-login/ifelse_task@2x.png similarity index 100% rename from 1-js/02-first-steps/10-ifelse/4-check-login/ifelse_task@2x.png rename to 1-js/02-first-steps/11-logical-operators/9-check-login/ifelse_task@2x.png diff --git a/1-js/02-first-steps/10-ifelse/4-check-login/solution.md b/1-js/02-first-steps/11-logical-operators/9-check-login/solution.md similarity index 100% rename from 1-js/02-first-steps/10-ifelse/4-check-login/solution.md rename to 1-js/02-first-steps/11-logical-operators/9-check-login/solution.md diff --git a/1-js/02-first-steps/10-ifelse/4-check-login/task.md b/1-js/02-first-steps/11-logical-operators/9-check-login/task.md similarity index 60% rename from 1-js/02-first-steps/10-ifelse/4-check-login/task.md rename to 1-js/02-first-steps/11-logical-operators/9-check-login/task.md index 191defbe..780e674a 100644 --- a/1-js/02-first-steps/10-ifelse/4-check-login/task.md +++ b/1-js/02-first-steps/11-logical-operators/9-check-login/task.md @@ -20,8 +20,6 @@ The schema: Please use nested `if` blocks. Mind the overall readability of the code. -Hint: -1. passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`. -2. You should use || that we will see in detail on the next chapter. Here some info: in classical programming, the logical OR is meant to manipulate boolean values only. If any of its arguments are true, it returns true, otherwise it returns false. +Hint: passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`. [demo]