diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index c8343c5ce7..995b730772 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -1897,8 +1897,8 @@ "id": "56533eb9ac21ba0edf2244be", "title": "Global Scope and Functions", "description": [ - "In Javascript, scope refers to the visibility of variables. Variables which are defined outside of a function block have Global scope. This means the can be seen everywhere in your Javascript code. ", - "Variables which are used without the var keyword are automatically created in the global scope. This can create unintended concequences elsewhere in your code or when running a function again. You should always declare your variables with var.", + "In Javascript, scope refers to the visibility of variables. Variables which are defined outside of a function block have Global scope. This means, they can be seen everywhere in your JavaScript code.", + "Variables which are used without the var keyword are automatically created in the global scope. This can create unintended consequences elsewhere in your code or when running a function again. You should always declare your variables with var.", "

Instructions

", "Declare a global variable myGlobal outside of any function. Initialize it to have a value of 10 ", "Inside function fun1, assign 5 to oopsGlobal without using the var keyword." @@ -1933,6 +1933,7 @@ "", "function fun1() {", " // Assign 5 to oopsGlobal Here", + " ", "}", "", "// Only change code above this line",