-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (60 loc) · 2.52 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
72
73
<!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" />
<link rel="stylesheet" href="styles.css">
<title>Prework Study Guide</title>
</head>
<body>
<header id="top">
<h1>Prework Study Guide</h1>
<img src="bowtie-cat.png" alt="Profile image of cat wearing a bow tie." />
<h2>✨ Open the Console to See What's Happening ✨</h2>
</header>
<main>
<!-- Student code goes here -->
<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>
<li> Everything inside the head element is hidden to the public.</li>
<li>The alt attribute is used by some applications.</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 of an element.</li>
<li> The * can be used to set values to all elements on the page.</li>
<li>The link element goes inside of the head element before the tile.</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 allows to create a new branch to allow new features to be created without cahngeing old code.</li>
<li>You can collaborate with others through GIT and not have to destroy the previouse code.</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>
<li>A function is a set of instructions that tells the computer how to perform a certain task.</li>
<li>An array is a single variable that is used to hold a group of data.</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="script.js"></script>
</body>
</html>