Skip to content

Commit

Permalink
Started JS from Shradha Mam
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalarya873 committed Nov 17, 2023
1 parent 86adf29 commit c637f71
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 35 deletions.
11 changes: 11 additions & 0 deletions JS by Shradha Mam/first.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
console.log("Hello Kunal How are you ???????")

// Practise Question

const product= {
name: "Parker Jotter Standard CT Ball Pen",
rating: 3.5,
price: 270,
offer: 5,
};

12 changes: 12 additions & 0 deletions JS by Shradha Mam/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Introduction to HTML </title>
</head>
<body>

</body>
<script src="first.js"></script>
</html>
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Flexbox Model</h1>
<div id="container">
<div id="box1">Box 1</div>
<div id="box2">Box 2</div>
<div id="box3">Box 3</div>
<div id="box4">Box 4</div>
<div id="box5">Box 5</div>
</div>
<div></div>
</body>
</html>
29 changes: 2 additions & 27 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
body {
text-align: center;
}
div {
height:100px;
width:100px;
display: inline-block;
border: 2px solid black;
}
#container {
width: 800px;
height: 200px;
display: flex;
flex-direction: row-reverse;
}
#box1 {
background-color: aqua;
}
#box2 {
height: 50px;
width: 50px;
background-color: pink;
}
#box3 {
background-color: darkkhaki;
}
#box4 {
background-color: indianred;
}
#box5 {
background-color: slateblue;
}

0 comments on commit c637f71

Please sign in to comment.