Skip to content

Commit fdad5ff

Browse files
authored
Merge pull request #727 from maurodibert/patch-11
Update task with a hint or another exercise/solution.md
2 parents a484461 + f8aec45 commit fdad5ff

File tree

1 file changed

+3
-1
lines changed
  • 1-js/02-first-steps/10-ifelse/4-check-login

1 file changed

+3
-1
lines changed

1-js/02-first-steps/10-ifelse/4-check-login/task.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ The schema:
2020

2121
Please use nested `if` blocks. Mind the overall readability of the code.
2222

23-
Hint: passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
23+
Hint:
24+
1. passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
25+
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.
2426

2527
[demo]

0 commit comments

Comments
 (0)