forked from itscodenation/int-u2l4-23-24-student-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
code-along.html
58 lines (51 loc) · 2.48 KB
/
code-along.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<title>Code Along</title>
<style>
/* Note: don't forget to start with a dot when selecting! */
/* 1. Select the class name `header` and change: the font color to white and background color to black. */
.header {
color: white;
background-color: black;
}
/* 2. Select the class name `section-title` and change: the font size to 25px and the color to the hex code #081d8d */
.section-title {
font-size: 25px;
color: #081d8d;
}
.content {
margin: 15px;
padding: 15px;
background-color: #f1f1f1;
}
</style>
</head>
<body>
<div class="navbar">
<a href="index.html">Do Now</a>
<a href="code-along.html">Code Along</a>
<a href="code-solo.html">Code Solo</a>
</div>
<h1 class="header">All About Spiders</h1>
<p class="content welcome">Welcome to the fascinating world of spiders!</p>
<div class="content biology">
<h2 class="section-title">Biology</h2>
Spiders are arachnids, not insects. They have eight legs, no wings, and two body segments: the cephalothorax and abdomen. Many produce silk, which they use to spin webs and capture prey. Spiders can have up to eight eyes, each providing a different type of vision.
</div>
<div class="content habitat">
<h2 class="section-title">Habitat</h2>
Spiders are found on every continent except Antarctica. They inhabit a wide range of environments, from deserts to rainforests. Some spiders live in burrows, while others prefer trees or water surfaces. Their adaptability allows them to thrive in various ecological niches.
</div>
<div class="content types">
<h2 class="section-title">Types</h2>
There are over 48,000 known species of spiders. They can be classified into various families such as:
<ul>
<li>Theridiidae: Cobweb spiders, including the common house spider.</li>
<li>Araneidae: Orb-weaver spiders, known for their spiral-shaped webs.</li>
<li>Theraphosidae: Tarantulas, some of the largest and most famous spiders.</li>
<li>Salticidae: Jumping spiders, recognized for their agility and sharp vision.</li>
</ul>
</div>
</body>
</html>