From 9920b7c83c9e142808ed6bb1ec1cc6f3ab4f0cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Urbanek?= Date: Fri, 29 Oct 2021 12:37:01 +0200 Subject: [PATCH] fix(curriculum): point to all lines requiring change (#44056) * fix comments for which place to edit solution should be placed in this line, previous comments was missleading. as discussed in https://github.com/freeCodeCamp/freeCodeCamp/issues/44049 * shorter comments clear of not needed ward Only * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md letter fixes Co-authored-by: Ilenia * fix for spelling of Change only letter change * fix for italian language all other languages * revert revert of changes that will be done in other place * revert Co-authored-by: Ilenia --- ...eclare-a-read-only-variable-with-the-const-keyword.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md index 2b5b31fc7b..7b71031111 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md @@ -71,13 +71,10 @@ assert.match(code, /const\s+FCC/); ## --seed-contents-- ```js -// Only change code below this line -var fCC = "freeCodeCamp"; -var fact = "is cool!"; -// Only change code above this line - +var fCC = "freeCodeCamp"; // Change this line +var fact = "is cool!"; // Change this line fact = "is awesome!"; -console.log(fCC, fact); +console.log(fCC, fact); // Change this line ``` # --solutions--