-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (71 loc) · 3.81 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
<!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 shown to the user.</li>
<li>Parent/Child elements represent the outer elements (Parents) and the inner nested elements (children)</li>
<li>Metadata is contained in the Meta tag, one important one is the viewport, this makes your page resize</li>
<li>HTML is the framework for a solid site</li>
<li>HTML makes for a good user experience by organizing different types of data</li>
<li>The Browser reads metadata and this can be useful for SEO using the title</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>Adds color and style</li>
<li>Stands for cascading style sheets</li>
<li>Three types of css are inline css, internal css style sheet, and external css style sheet</li>
<li>The Most common css style is external</li>
<li>There is a selector, and a declaration block (in braces{}) with different properties (followed by :) and values (followed by ;)</li>
<li>Multiple selectors can be used with one declaration block if they have the same formatting style</li>
</ul>
</section>
<section class="card" id="git-section">
<h2>Git</h2>
<ul>
<li>Git is used for version control when developing software.</li>
<li>Version control is accomplished with git commits frequently</li>
<li>This works by using different branches, this way you do not change anything on the live site.</li>
<li>Git commands are done in the terminal. We set up SSH keys in order to make it so you don't have to log in every time</li>
<li>Git helps developers when debugging by providing a record of when certain changes were made</li>
<li>Github is a social network centered around the language Git, it is often used for collaboration between developers on projects</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>Functions are used to execute a block of code when the program calls for it</li>
<li>JavaScript adds interactivity to the website, like the house analogy</li>
<li>JavaScript will be used for half of the bootcamp, so it is important to understand</li>
<li>Some of this will be confusing now, but will make a lot of sense in the future after using it, Don't be discouraged!</li>
<li>The Chromedev features are really handy for seeing your code live, as well as debugging!</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="./assets/script.js"></script>
</body>
</html>