mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-13 00:03:05 +08:00
fix(curriculum): fixed punctuation (#56942)
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ dashedName: step-16
|
||||
|
||||
We have run into a slight problem. You are trying to query your page for a button element, but your `script` tag is in the `head` of your HTML. This means your code runs before the browser has finished reading the HTML, and your `document.querySelector()` will not see the button - because the browser hasn't processed it yet.
|
||||
|
||||
To fix this, move your `script` element out of the `head` element, and place it at the end of your `body` element (just before the closing `</body>` tag.)
|
||||
To fix this, move your `script` element out of the `head` element, and place it at the end of your `body` element (just before the closing `</body>` tag).
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ dashedName: problem-387-harshad-numbers
|
||||
|
||||
A Harshad or Niven number is a number that is divisible by the sum of its digits.
|
||||
|
||||
201 is a Harshad number because it is divisible by 3 (the sum of its digits.)
|
||||
201 is a Harshad number because it is divisible by 3 (the sum of its digits).
|
||||
|
||||
When we truncate the last digit from 201, we get 20, which is a Harshad number.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user