-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca4d571
commit 3a6b338
Showing
7 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="style.css"> | ||
<title>Tic Tac Toe</title> | ||
</head> | ||
<body> | ||
|
||
<script src="script.js"></script> | ||
</body> | ||
</html> |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// const Student = { | ||
// name : 'Kunal Arya', | ||
// marks : 22, | ||
// printMarks: function(){ | ||
// console.log(this.marks); | ||
// }, | ||
// }; | ||
|
||
|
||
class Users{ | ||
name(name){ | ||
this.name = name; | ||
} | ||
email(email){ | ||
this.email = email; | ||
} | ||
viewDetails(){ | ||
console.log(`Name : ${this.name} , Email : ${this.email}`); | ||
} | ||
} | ||
|
||
class Admin extends Users{ | ||
|
||
|
||
} | ||
|
||
let user1 = new Users(); | ||
user1.name("John Doe"); | ||
user1.email("[email protected]") | ||
//console.log(user1.name); | ||
console.log(user1.viewDetails()); | ||
|
||
|
||
function hello(){ | ||
console.log('Hello'); | ||
}; | ||
console.log("1"); | ||
console.log("2"); | ||
setTimeout(hello, 10000); | ||
console.log("3"); | ||
console.log("4"); | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>OOPs</title> | ||
</head> | ||
<body> | ||
|
||
|
||
|
||
<script src="app.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function hello(){ | ||
console.log('Hello'); | ||
}; | ||
console.log("1"); | ||
console.log("2"); | ||
setTimeout(hello, 10000); | ||
console.log("3"); | ||
console.log("4"); |