From 0e159f5a37248dbccc7d418d43165e11c5c69b2f Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 15 Oct 2023 18:50:00 +0200 Subject: [PATCH] Change the variable to uppercas, it's a hard coded constant value. --- foundations/javascript_basics/fundamentals-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/javascript_basics/fundamentals-1.md b/foundations/javascript_basics/fundamentals-1.md index 1b1a94e545b..bbf322f4b23 100644 --- a/foundations/javascript_basics/fundamentals-1.md +++ b/foundations/javascript_basics/fundamentals-1.md @@ -88,7 +88,7 @@ Try the following exercises (and don't forget to use `console.log()`!): * Try the following in the console: `9 * a` * and this: `let b = 7 * a` (returns `undefined` \*) and then `console.log(b)` 5. You should be getting the hang of this by now... try this sequence: - * Declare a constant variable `max` with the value `57` + * Declare a constant variable `MAX` with the value `57` * Set another variable `actual` to `max - 13` * Set another variable `percentage` to `actual / max` * If you type `percentage` in the console and press Enter you should see a value like `0.7719`