PLEASE help idon't know what to do next!

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

// Declare the myGlobal variable below this line
var myGlobal = 10;

function fun1() {
oopsGlobal = 5;
}

function fun1() {
// Assign 5 to oopsGlobal Here

}
function fun2() {
var output = "";
if (typeof myGlobal != "undefined") {
  output += "myGlobal: " + myGlobal;
}
if (typeof oopsGlobal != "undefined") {
  output += " oopsGlobal: " + oopsGlobal;
}
console.log(output);
}
// Only change code above this line

function fun2() {
var output = "";
if (typeof myGlobal != "undefined") {
  output += "myGlobal: " + myGlobal;
}
if (typeof oopsGlobal != "undefined") {
  output += " oopsGlobal: " + oopsGlobal;
}
console.log(output);
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Challenge: Global Scope and Functions

Link to the challenge:

Hi @phucdfx12093 !

I would reset the lesson because there are a few errors.

No.1:
The directions tell you to use let or or const here. Not var.

You need to change that var to either let or const.

No.2:
You are not supposed to create a new fun1.

This is incorrect.

Use the one they already gave here

Assign 5 to oopsGlobal inside of it.

No.3:
Delete this extra fun2 function.

You are not supposed to add any new functions.
Use the ones they already gave you.

The correct answer should only be adding two lines of code.
If you are adding more than that then it is incorrect.

Hope that helps!