-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (69 loc) · 3.34 KB
/
index.html
File metadata and controls
70 lines (69 loc) · 3.34 KB
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
<!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>Enter your HTML notes here</li>
<li>The head element contains info about the webspage</li>
<li>The body element represents the visible content shown to the user</li>
<li>Using H1 through H6 in the correct order makes sure headings are set up properly</li>
<li>ul creates an unordered list that allows for li to be used to create a list inside it</li>
<li>Take a deep breath and don't panic</li>
</ul>
</section>
<section class="card" id="css-section">
<h2>CSS</h2>
<ul>
<li>Enter your CSS notes here</li>
<li>External CSS stylesheets are preferred to internal CSS because it allows for greater functionality</li>
<li>a margin is how much space we want around the outside of an element</li>
<li>a padding indicates how much space is wanted around the content inside an element</li>
<li>HTML and CSS will not automatically link. CSS stylesheets must be added to the HTML file using link</li>
</ul>
</section>
<section class="card" id="git-section">
<h2>Enter for Git notes here</h2>
<ul>
<li>Enter your Git notes here</li>
<li>git status: checks what branch i am on</li>
<li>git checkout -b branch-name: creates a new branch (replace branch-name with desired name)</li>
<li>Git allows me to use Unix commands to communicate between the IDE (local computer) and GitHub</li>
<li>This practice is critical for version control</li>
<li>Proper use allows me to revert to previous changes so I don't have to restart from scratch (like the first time I did it)</li>
<li>Saving often gives more "checkpoints" so I lose less data and time when I need to revert</li>
<li>Using a tilde (~) before calling a file directory is a wild card to access the folder</li>
<li>example: "cd ~/bootcamp" will call the directory "c:/users/colin/bootcamp"</li>
</ul>
</section>
<section class="card" id="javascript-section">
<h2>JavaScript</h2>
<ul>
<li>Enter your JavaScript notes here</li>
<li>YOU GOT THIS! It will become easy with practice.</li>
<li>Like CSS, .js files are used to write javascript in text files</li>
<li>variables are "containers" that allow for data to be held inside them</li>
<li>example: var shape = "circle"; creates a "container" that holds the data "circle"</li>
<li>Control Flow is the order in which a computer executes the code in a script</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="./assets/script.js"></script>
</body>
</html>