-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (110 loc) · 4.04 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index-page.css" />
<link rel="icon" type="image/png" href="/favicon_io/favicon-16x16.png" />
</head>
<!-- Universal Selector: Below is every thing that universal selector affect -->
<body class="body">
<div id="page-link">
<h1>Odin Recipes</h1>
<ul>
<li>
<a href="./recipes-odin-foundations/Donut/Donut.html"
>Cách làm Bánh Donut ngon và giòn</a
>
</li>
<li>
<a href="./recipes-odin-foundations/Pizza/Pizza.html"
target="_blank">Cách làm Pizza Đơn giản tại nhà</a
>
</li>
<li>
<a href="./recipes-odin-foundations/Spaghetti/Spaghetti.html"
target="_blank">Cách làm Bánh Mì Ý Spaghetti sốt bò cà chua</a
>
</li>
<li >
<a href="./the-box-model/box-model-block.html" target="_blank">
The Box Model - Block
</a>
<li>
<a href="./the-box-model/box-model-inline.html" target="_blank">
The Box Model - Inline
</a>
</li>
<li >
<a href="./flex-box/flex-example.html" target="_blank">
The Flex Box example
</a>
<li>
<a href="./landing-page/landing-page.html" target="_blank">
Odin Lading Page
</a>
</li>
<li>
<a href="javascript-foundations/FDM1.html" target="_blank">
Fundamental Javascript Part 1 Page
</a>
</li>
<li>
<a href="javascript-foundations/FDM2.html" target="_blank">
Fundamental Javascript Part 2 Page
</a>
</li>
<li>
<a href="javascript-foundations/FDM3.html" target="_blank">
Fundamental Javascript Part 3 Page
</a>
</li>
</ul>
</div>
<h1 class="header-text">CSS Practices</h1>
<div id="css-practice">
<!-- Type Selector -->
<div class="alert-text">Hello, World!</div>
<div>Hello again!</div>
<p class="alert-text">Hi...</p>
<div>Okay, bye.</div>
<!-- Class Selectors -->
<div class="alert-text">Please agree to our terms of service.</div>
<!-- ID Selectors -->
<div class="alpha" id="title">My Awesome 90's Page</div>
<!-- Chaining selector: Let’s say we had the following HTML: -->
<div>
<div class="subsection header">Latest Posts</div>
<!-- We have two elements with the subsection class
that have some sort of unique styles,
but what if we only want to apply a separate rule to the element that also has header as a second class?
Well, we could chain both the class selectors together in our CSS like so: (Open Css file) -->
<!-- This can also be used to chain a class and an ID, as shown below: -->
<p class="subsection" id="preview">
This is where a preview for a post might go.
</p>
</div>
<!-- Descendant Combinator -->
<div class="ancestor">
<div class="child">
<div class="contents">The hologram</div>
</div>
</div>
<div class="contents">The hologram</div>
<!-- Order Matters -->
<p class="first_declared">The first declared</p>
<p class="last_declared">The last declared</p>
<p class="first_declared last_declared">The both declared</p>
<p>Something has changed - you see it ?</p>
<!-- Properties to Get Started With -->
<h6>Haha</h6>
</div>
</body>
</html>