-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
187 lines (181 loc) · 5.97 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!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">
<title>Cheat Sheet</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="resources\css\styles.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="style.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Space+Mono&display=swap" rel="stylesheet">
</head>
<body>
<div class="landing">
<h1 class="landing-title">Cheat sheet, baby</h1>
<section class="landing-nav">
<button>html</button>
<button>css</button>
<button>life</button>
</section>
</div>
<main>
<section class="html-section">
<h1></h1>
<!--html elements table-->
<section class="table-set">
<h4 class="table-title">Tables</h4>
<table>
<tr>
</tr>
<thead>
<tr class="table-subtitles">
<th>code</th>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td><table></td>
<td>table</td>
<td>Use this to contain all information for your table.</td>
</tr>
<tr>
<td><thead></td>
<td>table header</td>
<td>This is where header information goes. you can style it seperatly, and select it specifically with the code thead th:nth-child(1)</td>
</tr>
<tr>
<td><tbody></td>
<td>table body</td>
<td>Contains the main data of your table. between the table header and the table footer</td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
</section>
<section class="table-set">
<h4 class="table-title">Links</h4>
<table>
<tr>
</tr>
<thead>
<tr class="table-subtitles">
<th>code</th>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src=" "></td>
<td>image source</td>
<td>Use src = to link the relative path to the image, or link to a url.</td>
</tr>
<tr>
<td><href></td>
<td>hyperlink</td>
<td>Stands for Hypertext REFerence. you can link to another tag</td>
</tr>
<tr>
<td><a></td>
<td>anchor</td>
<td>Usually seen with a href attribute to link to pages, files, addresses, locations on the same page, - anything url.</td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
</section>
</section>
<!--html elements table-->
<section class="table-set">
<h4 class="table-title">Elements</h4>
<table>
<tr>
</tr>
<thead>
<tr class="table-subtitles">
<th>code</th>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td><header></td>
<td>header</td>
<td>Good for intro content or set of nav links.</td>
</tr>
<tr>
<td><button></td>
<td>button</td>
<td>You guessed it: there's a button!</td>
</tr>
<tr>
<td><form></td>
<td>form</td>
<td>Where to store all your grouped input elements (creating a form for user input.)</td>
</tr>
<tr>
<td><input></td>
<td>input</td>
<td>Display varies based on "type" attribute.</td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
</section>
<!--html tables table-->
<table>
</table>
</section>
<section class="css-section">
<!-- css selectors' table-->
<section class="table-set">
<h4 class="table-title">The Box Model</h4>
<table>
<tr>
<thead>
<tr class="table-subtitles">
<th>code</th>
<th>name</th>
<th>description</th>
</tr>
</thead>
</tr>
<tbody>
<tr>
<td>margin</td>
<td>margin</td>
<td>determines the space between content and stuff around it. Remember, shorthand is a clockwise square. </td>
</tr>
<tr>
<td>margin: auto</td>
<td>auto</td>
<td>margin will even itself out horizontally, and YOU don't have to do the math.</td>
</tr>
<tr>
<td>visibility: hidden</td>
<td>visibility</td>
<td>the user can't see it, but elements must arrange themsleves around it. keeps organization and structure steady.</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
</section>
</section>
<section class="life-section">
</section>
</main>
</body>
</html>