-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (69 loc) · 3.35 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!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="./assets/style.css">
<title>Prework Study Guide</title>
</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 show to the user.</li>
<li>The section element defines a section in a document that contains thematic content</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>
<li>A border assigns a border with a width and colour of your choice</li>
<li>A box shadow adds shadow effects around an element's frame with size and colour of your choice</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>
<li>git clone [url]: retrieves an entire repository from a hosted location via URL</li>
<li>git branch: lists the branches your have now</li>
<li>git add -A: commits all files in the working branch</li>
<li>git commit -m "[message]": Adds a message that we committed to changes</li>
<li>git pull origin [branch]:fetches and merges any commits from the tracking remote branch</li>
<li>git push origin[branch]:Transmits local branch commits to the remote repository branch</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>Array: A single variable that is used to hold a group of data.</li>
<li>If: Statements that determine if the viable is true or not.</li>
<li>True: The statement executes the viable of the if statement.</li>
<li>False: The statement is ignored and goes to the next viable.</li>
<li>For: Performs a task in a loop until told to end.</li>
<li>Let: Sets viable to the desired value.</li>
<li>/* or //: Adds notes in and does not appear in the viable.</li>
<li>Function: Set of instructions that tells the computer how to perform certain tasks.</li>
<li>Math: Selects a random number from the list.</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="./assets/script.js"></script>
</body>
</html>