Skip to content

Commit 033a0c2

Browse files
committed
Add CSS Chapter2
1 parent fc3bae8 commit 033a0c2

File tree

6 files changed

+133
-1
lines changed

6 files changed

+133
-1
lines changed

.DS_Store

6 KB
Binary file not shown.

CSS/.DS_Store

6 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Practice Qs</title>
8+
</head>
9+
<body>
10+
<h1>Facebook</h1>
11+
<button class="userbtn">Log in</button>
12+
<button class="userbtn">Register</button>
13+
<hr />
14+
<label for="search">Search</label>
15+
<input placeholder="search your friends" id="search" />
16+
<button id="searchbtn">Search</button>
17+
</body>
18+
</html>

CSS/Chapter2 (Selectors)/index.html

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>CSS Chapter2</title>
8+
</head>
9+
<body>
10+
<header>
11+
<h1>Quora
12+
<button id="login">Log in</button>
13+
<button id="signup">Sign up</button>
14+
</h1>
15+
<div>
16+
<input type="text" placeholder="username">
17+
<input type="password" placeholder="password">
18+
</div>
19+
<nav>
20+
<ul>
21+
<li><a href="/home">Home</a></li>
22+
<li><a href="/following">Following</a></li>
23+
<li><a href="/answer">Answer</a></li>
24+
<li><a href="/spaces">Spaces</a></li>
25+
</ul>
26+
</nav>
27+
<hr>
28+
</header>
29+
<main>
30+
<p>
31+
Adam &nbsp;&nbsp;
32+
<a class="follow" href="/adam">Follow /abc</a></span>
33+
</p>
34+
<h3>What is the highest salary for a spacex engineer?</h3>
35+
<span>
36+
<button>+upvote</button>
37+
<button>answer</button>
38+
</span>
39+
<hr />
40+
41+
<p>
42+
Bob &nbsp;&nbsp;
43+
<a class="follow" href="/bob">Follow xyz</a>
44+
</p>
45+
<h3>What is the syllabus for JEE 2024?</h3>
46+
<span>
47+
<button>+upvote</button>
48+
<button>answer</button>
49+
</span>
50+
<hr />
51+
52+
<p>
53+
Catlyn &nbsp;&nbsp;&nbsp;&nbsp;
54+
<a class="follow" href="/catlyn">Follow pqr</a>
55+
</p>
56+
<h3>Why is the sky blue?</h3>
57+
<span>
58+
<button>+upvote</button>
59+
<button>answer</button>
60+
</span>
61+
<hr />
62+
63+
<p>
64+
Dan &nbsp;&nbsp;&nbsp;&nbsp;
65+
<a class="follow" href="/dan">Follow pqr</a>
66+
</p>
67+
<h3>Why is the sky blue?</h3>
68+
<span>
69+
<button>+upvote</button>
70+
<button>answer</button>
71+
</span>
72+
<hr />
73+
</main>
74+
</body>
75+
</html>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Inheritance Demo</title>
8+
<link rel="stylesheet" href="inheritance_style.css" />
9+
</head>
10+
<body>
11+
<body>
12+
<h1>Main Heading</h1>
13+
<div>
14+
<h2>Heading 1</h2>
15+
<form>
16+
<label>username: </label>
17+
<input type="text" placeholder="username" />
18+
<label>password: </label>
19+
<input type="password" placeholder="password" />
20+
<button>Login</button>
21+
</form>
22+
<hr />
23+
</div>
24+
25+
<div>
26+
<h2>Heading 2</h2>
27+
<p>
28+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nesciunt
29+
inventore saepe, reiciendis dolorem illo culpa velit odio pariatur,
30+
officia ad veniam itaque adipisci veritatis quos tenetur. Ut autem
31+
dolores mollitia!
32+
</p>
33+
<hr />
34+
</div>
35+
</body>
36+
</body>
37+
</html>

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# Delta
1+
# Delta
2+
3+
## Please use this repo to download your in-class starter codes.

0 commit comments

Comments
 (0)