-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlab_015.html
90 lines (83 loc) · 3.75 KB
/
lab_015.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
<!doctype html>
<html lang="en">
<head>
<title>
Lab 15 - HyperText Markup Language
</title>
<meta charset="UTF-8" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta "="" content=" width=device-width, initial-scale=1.0" name="viewport" />
<meta content="A guided tour through the fundamentals of Git, HTML, & CSS" name=" description" />
<meta content="#0000ff" name="theme-color" />
<link href="manifest.json" rel="manifest" />
<link href="css/reset.css" media="screen" rel="stylesheet" />
<link href="css/screen.css" media="screen" rel="stylesheet" />
<link href="css/prism.css" rel="stylesheet" />
</head>
<body data-lab-id="15">
<a class="skip-to-content" href="#content" tabindex="1">
Skip to content
</a>
<main class="layout">
<nav id="index">
<p class="link-home">
<a href="index.html">
<span>Hack4Impact Starter Pack</span>
</a>
</p>
<button class="link-menu">
Menu
</button>
<nav tabindex="0">
<ol>
</ol>
</nav>
</nav>
<div id="content" tabindex="-1">
<h1 class="lab_title">
<em>Lab 15</em>
</h1>
<h2>Goals</h2>
<ul>
<li>Learn about HyperText Markup Language (HTML)</li>
</ul>
<h2>HTML</h2>
<p> We'll come back to Git in a little bit, but for now let's learn about the <strong>HyperText Markup
Language</strong>. <strong>HTML</strong> is one half of what makes up a static website. If
<strong>CSS</strong> is the pretty neon lights and <strong>JavaScript</strong> is the flashing patterns and
programmed functionality, HTML is all the wiring and framework underneath. HTML is the foundation and structure for
<em>all</em> web applications.
</p>
<p>It may sound intimidating, but HTML is just text with some fancy
formatting features. In fact, all you need to start writing HTML is a text editor.</p>
<p> You could write it in Word or Google Docs or Notepad if you really want the <em>raw</em> experience. We'll be
using Visual Studio Code for comfort and ease of use.</p>
<h2>Write Some HTML</h2>
<p>Open the file called <code>index.html</code> that you created before and add the the following.</p>
<h3 class="file-heading"><em>index.html</em></h3>
<pre class="file"><code class="language-html">Hello World! This is my website.</code></pre>
<h2>View Your HTML</h2>
<video class="video" controls>
<source src="assets/1501.mp4" type="video/mp4">
</video>
<p>To see your spiffy new website, open a browser and type in the file path of your file. For
example: <code>/Users/hack4impact/hack4impact-calpoly.github.io/index.html</code> on macOs.</p>
<p>You can also go into your File Explorer or Finder and open the file from there. Or, go to the menu bar of
your browser and under <strong>File</strong> > <strong>Open File...</strong></p>
<p>Congrats! You've made and opened your first HTML webpage.</p>
<h2>Don't Forget...</h2>
<p>Remember, we're still working in a version controlled directory. Go ahead and stage then commit your latest
changes. Follow the conventional commit message guidelines from Lab 10 and best practices for <code>Git</code>.
</p>
<p>The more frequently you commit the better. We'll be looking for good commit histories. We believe in you. :)
</p>
</div>
</main>
<script src="js/ui.js" type="text/javascript"></script>
<script src="js/prism.js" type="text/javascript"></script>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({startOnLoad: true, theme: "base"});
</script>
</body>
</html>