From b6c47bf5310e7481d4e854f8164a1f521ee42bb5 Mon Sep 17 00:00:00 2001 From: Sophie Yang Date: Mon, 28 Oct 2024 22:04:02 +0100 Subject: [PATCH] fix(curriculum): fixed punctuation (#56942) --- .../62b46e3a8d4be31be5af793d.md | 2 +- .../problem-387-harshad-numbers.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62b46e3a8d4be31be5af793d.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62b46e3a8d4be31be5af793d.md index e584e963759..5b9f514bdba 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62b46e3a8d4be31be5af793d.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62b46e3a8d4be31be5af793d.md @@ -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 `` 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 `` tag). # --hints-- diff --git a/curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-387-harshad-numbers.md b/curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-387-harshad-numbers.md index 2b2ccbbaa0e..b5b9f5f175e 100644 --- a/curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-387-harshad-numbers.md +++ b/curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-387-harshad-numbers.md @@ -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.