Skip to content

Commit

Permalink
small things learned
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalarya873 committed Dec 27, 2023
1 parent ca4d571 commit 3a6b338
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions JS by Shradha Mam/JS_projects/TicTacToe/index.html
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.
44 changes: 44 additions & 0 deletions JS by Shradha Mam/OOPs/app.js
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");



14 changes: 14 additions & 0 deletions JS by Shradha Mam/OOPs/index.html
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>
8 changes: 8 additions & 0 deletions JS by Shradha Mam/OOPs/tempCodeRunnerFile.js
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");

0 comments on commit 3a6b338

Please sign in to comment.