-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
235 lines (226 loc) · 9.66 KB
/
index.html
File metadata and controls
235 lines (226 loc) · 9.66 KB
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!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="./css/style.css">
<title>Web Design Challenge</title>
</head>
<body>
<!-- Navbar -->
<div class="navbar">
<div class="nav-brand">
<img src="./img/logo.png" alt="" class="navbar-image">
</div>
<div class="nav-content">
<ul>
<li>Home</li>
<li>Why HTML?</li>
</ul>
</div>
</div>
<!-- Home Hero -->
<div class="home-hero">
<div class="home-padding-container"></div>
<div class="home-content-container">
<h1>Home</h1>
<p>
HTML markup consists of several key components,
including those called tags (and their attributes),
character-based data types, character references and
entity references. HTML tags most commonly come
in pairs like <code><h1></code> and </h1>, although some recodesent
ty elements and so are unpaired, for example <img>.
The first tag in such a pair is the start tag,
and the second is the end tag (they are also called
opening tags and closing tags).
</p>
<button class="button orange-button">Why HTML?</button>
</div>
<div class="home-image-container">
<img class="hero-image" src="./img/hero.jpg" alt="">
</div>
</div>
<!-- Table -->
<div class="home-table-section">
<div class="table-padding-left"></div>
<div class="table-container">
<h2 class="table-text">Sample Table</h2>
<p class="table-sub-text ">The following table uses <code>colspan</code> and <code>rowspan</code> attributes
inside to merge two or more cells</h6>
<table class="home-table">
<tr>
<th></th>
<th>First Year</th>
<th>Second Year</th>
<th>Third Year</th>
<th>Fourth Year</th>
</th>
<tr>
<td>8.00AM- 10.00AM</td>
<td>Data Structures and Algorithms</td>
<td>Software Engineering</td>
<td>Mobile Application Development</td>
<td>Parallel Computing</td>
</th>
<tr>
<td>10.00AM- 12.00AM</td>
<td>Database</td>
<td>Functional Programming</td>
<td>Machiene Learning</td>
<td>Computational Biology</td>
</th>
<tr>
<td>12.00AM- 1.00PM</td>
<td colspan="4" class="text-center">Interval</td>
</th>
<tr class="highlighted-row">
<td>1.00AM- 3.00PM</td>
<td>Mathematics</td>
<td rowspan="2">
Group Project
<ul class="table-ul">
<li>Previous Progress</li>
<li>Plan for next weeek</li>
</ul>
</td>
<td>
Game Development
</td>
<td>Congnitive Robotics</td>
</th>
<tr>
<td>3.00PM- 5.00PM</td>
<td>Programming in C</td>
<td>Management</td>
<td>Philosophy of Science</td>
</th>
</table>
</div>
<div class="table-padding-left"></div>
</div>
<!-- why HTML -->
<div class="why-section">
<div class="why-left">
<img class="why-image" src="./img/app.png" alt="">
</div>
<div class="why-right">
<h1>Why HTML?</h1>
<div class="title-section">
<p>HTML (Following Paragraph is Left Aligned)</p>
</div>
<p>HTML is responsible of giving a semantic meaning for your content.
For example :
<ol>
<li>Here is a <code><h5></code> title </h5>
</li>
<li>Followed by a <code><p></code>paragraph <code></p></code></li>
<li>Then there’s a footer [etc].</li>
</ol>
Web browsers read it to display your content according to their importance
(a title is bigger than a text, a <code><strong></code>
<strong>"strong"</strong><code></strong></code> text is more important than a single text,
etc). <code><tt></code>
<pre>Crawlers</pre> <code></tt></code> (like robots) use it to identify what content is relevant to
their activity
(i.e. google needs your page title to show it on his page).
</p>
<div class="title-section">
<p>HTML (Following Paragraph is Justified)</p>
</div>
<p class="justified-text">CSS gives a style to your application. It’s fundamentally destined to the user.
It allows to say <span class="red-text">"this text is red"</span>, <sbox>"this block is 200px wide"
</sbox> , etc.
It’s "basically" not used by crawlers but it has some importance
(some robot avoid to render a text if it’s hidden for example)
</p>
<div class="title-section">
<p>HTML (Following Paragraph is Right Aligned)</p>
</div>
<p class="right-text">
JavaScript, which is the only programming language of these 3, allows you to perform actions in
real time (like showing a dialog when the user click a button).
</p>
</div>
<div class="why-spacer"></div>
</div>
<!-- Form section -->
<div class="form-section">
<h2>Sample Form</h2>
<div class="form-container">
<div class="form-padding-container"></div>
<div class="form">
<form>
<div class="form-wrapper">
<div class="form-container-left">
<p>Name</p>
</div>
<div class="form-container-right">
<input class="inputbox" />
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left">
<p>Email</p>
</div>
<div class="form-container-right">
<input class="inputbox" />
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left">
<p>Gender</p>
</div>
<div class="form-container-right is-text-right">
<input type="radio">Male</input>
<input type="radio" name="gender">Female</input>
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left">
<p>Academic Year</p>
</div>
<div class="form-container-right">
<select class="inputbox">
<option value="" selected disabled>Select from list</option>
<option value="2016/2017">2016/2017</option>
<option value="2016/2017">2017/2018</option>
<option value="2016/2017">2018/2019</option>
<option value="2016/2017">2019/2020</option>
</select>
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left">
<p>Familier in:</p>
</div>
<div class="form-container-right is-text-right">
<input type="checkbox">HTML</input>
<input type="checkbox">CSS</input>
<input type="checkbox">JS</input>
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left comment-box">
<p>Comment:</p>
</div>
<div class="form-container-right align-self-top">
<textarea class="inputbox" rows="10" cols="20"></textarea>
</div>
</div>
<div class="form-wrapper">
<div class="form-container-left"></div>
<div class="form-container-right is-text-right">
<button class="button orange-button">Submit</button>
<button class="button">Reset</button>
</div>
</div>
</form>
</div>
</div>
<div class="form-padding-container"></div>
</div>
<footer>cdfvdf</footer>
</body>
</html>