Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my test work #4

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Binary file removed .DS_Store
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta ttp-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" type="image/png" href="favicon.png">
<title>My_test_work
</title>
</head>

<body>
<script src="index.js"></script>
</body>

</html>
24 changes: 24 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* JS-BASICS/CORE/CHALLENGE 01: TASK - Function Expressions
*
* Use following built-in functions:
* setTimeout
* setInterval
* clearInterval
*
* You should print to the console ONLY 5 messages with interval 2 seconds:
* "Here is message number 1"
* "Here is message number 2"
* "Here is message number 3"
* "Here is message number 4"
* "Here is message number 5"
*/
let myObject;

myObject = {
a: 10,
b: "abc"
}
console.log (myObject)
const = 'private'
console.log(const)