-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (71 loc) · 2.3 KB
/
index.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
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Prework Study Guide</title>
<link rel="stylesheet" href="assets/style.css" />
</head>
<body>
<header id="top">
<h1>Prework Study Guide</h1>
<img
src="./assets/bowtie-cat.png"
alt="Profile image of cat wearing a bow tie."
/>
<h2>✨ Open the Console to See What's Happening ✨</h2>
</header>
<main>
<section class="card" id="html-section">
<h2>HTML</h2>
<ul>
<li>The head element contains information about the webpage.</li>
<li>
The body element represents the visible content shown to the user.
</li>
</ul>
</section>
<section class="card" id="css-section">
<h2>CSS</h2>
<ul>
<li>
A margin indicates how much space we want around the outside of an
element.
</li>
<li>
A padding indicates how much space we want around the content inside
an element.
</li>
</ul>
</section>
<section class="card" id="git-section">
<h2>Git</h2>
<ul>
<li>git status: checks what branch we are currently on</li>
<li>
git checkout -b branch-name: creates a new branch and switches to it
</li>
</ul>
</section>
<section class="card" id="javascript-section">
<h2>JavaScript</h2>
<ul>
<li>
A variable is a named container that allows us to store data in our
code.
</li>
<li>
Control flow is the order in which a computer executes code in a
script.
</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="assets/script.js"></script>
<!-- "Note that whereas the style.css file is linked within the head element, the script.js file is linked within the body element;" however, in practice, it is actually better to place the script.js file link in the head with a defer attribute. See https://javascript.info/script-async-defer. -->
</body>
</html>