-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (65 loc) · 3.41 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="./assets/style.css">
<title>Prework Study Guide - Carlos DLT</title>
<link rel="shortcut icon" type="image/jpg" href="assets/Notebook_Favicon.jpg">
</head>
<body>
<header id="header">
<h1>Prework Study Guide</h1>
<img src="./assets/Profile Pic.jpg" alt="Profile image for Carlos DLT" />
<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>URL is an acronym for Uniform Resource Locator</li>
<li>HTML is an acronym for HyperText Markup Language</li>
<li>The head element contains information about the webpage</li>
<li>The body element represents the visible content shown to the user</li>
<li>There are 3 types of lists used in HTML Unorderd list, Ordered List (numbered), & List Items</li>
</ul>
</section>
<section class="card" id="css-section">
<h2>CSS</h2>
<ul>
<li>CSS is an acronym for Cascading Style Sheets.</li>
<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>Adding a percentange to an element will assign the percentage given of the available space referenced in the selector.</li>
<li>A class selector in an HTML element assigned to the "class" i.e. (.card, Check DevTools in Chrome) will gain these property assignments from the CSS.</li>
</ul>
</section>
<section class="card" id="git-section">
<h2>Git Commands</h2>
<ul>
<li>cd: Choose Directory on GitBash - navigate through folder structure.</li>
<li>mkdir: make a new folder/directory, never use spaces when making a directory.</li>
<li>git checkout -b (branch-name): creates a new branch and switches to that directory.</li>
<li>ls ../ : shows all folders in a main directory, which is important to find you main git directory.</li>
<li>git push origin main: [push files to GitHub] add new files and changes that were created on Visual Studio Code.</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 dta in our code.</li>
<li>There are two requirements for a JavaScript function which are 'Defining a Function' & 'Calling a Function.'</li>
<li>The function Math.random() generates a random integer value greater than 0 to and integer value > 1, i.e. all values between 0 & 1.</li>
<li>Control flow is the order in which a computer executes code in a script, in JavaScript it is in decending order so ORDER MATTERS!</li>
<li>Defining a fuction entials that we create a specific task we want our code to run & calling a function is used to execute the function when needed.</li>
</ul>
</section>
</main>
<footer>
<p>I can code!</p>
</footer>
<script src="./assets/script.js"></script>
</body>
</html>