Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Expense table</title>
</head>
<body>
<table>
<thead>
<tr>
<th>DATE</th>
<th>EXPENSES</th>
<th>EXTRA ANNOTATIONS</th>
</tr>
</thead>
<tbody>
<tr>
<td>1/5/19</td>
<td>Groceries</td>
<td>Might come back before the end of the month</td>
</tr>
<tr>
<td>10/5/19</td>
<td>School supplies</td>
<td>None</td>
</tr>
<tr>
<td>24/5/19</td>
<td>Eletricity Bill</td>
<td>Next one's due in June.</td>
</tr>
</tbody>
</table>
</body>
</html>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Image, video and sound</title>
</head>
<body>
<h1>Hello there! Here's an image:</h1>
<figure>
<img src="images/kitten.jpg" alt="kitten">
<figcaption>A black, white and grey kitten.</figcaption>
</figure>
<h2>Also, here's a sound track</h2>
<audio controls>
<source src="audio/Glitter_sound_effect.mp3" type="audio/mpeg">
- This is just in case the format isn't supported -
</audio>
<h3>Finally, a video. Enjoy!</h3>
<video width="300" height="300" poster="/images/the_duck_song.jpg" controls>
<source src="video/The_Duck_Song.mp4" type="video/mp4">
- This is just in case the format isn't supported -
</video>
</body>
</html>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Forms</title>
</head>
<body>
<h1>Sign up:</h1>
<form>
<label for="first-name">First Name:</label>
<br>
<input type="text" id="first-name" placeholder="John" required minlength="3">
<br><br>
<label for="last-name">Last Name:</label>
<br>
<input type="text" id="last-name" placeholder="Doe" required minlength="2">
<br><br>
<label for="email">Email Address:</label>
<br>
<input type="email" id="email" placeholder="johnD@gmail.com" required>
<br><br>
<label for="birth_date">When is your birthday?</label>
<br>
<input type="date" id="birth_date" required>
<br><br>
<label for="fav_sport">Choose your favourite sport:</label>
<br>
<select required name="sports" id="fav_sport">
<option value="">Choose</option>
<option value="Football">Football</option>
<option value="Tennis">Tennis</option>
<option value="Swimming">Swimming</option>
<option value="Golf">Golf</option>
<option value="Basketball">Basketball</option>
</select>
<br><br>
<label for="bio">Tell us something about you:</label>
<br><br>
<textarea name="user_bio" id="bio" cols="30" rows="10" required></textarea>
<br>
<button type="submit">Submit</button>
<button type="reset">Clear form</button>
</form>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>My todo list</title>
</head>
<body>
<h1>My todo list.</h1>
<ul>
<li>Todo item N°1</li>
<li>Todo item N°2</li>
<li>Todo item N°3</li>
<li>Todo item N°4</li>
<li>Todo item N°5</li>
</ul>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Forms</title>
</head>
<body>
<!--For the purpose of the exercise, I copied the content of a previous exercise. Removing the DOCTYPE causes trouble,
because the browser cannot interpret what type of HTML the document is using, so not all elements will be displayed
correctly or as they intended to be displayed in the first place. -->
<h1>Sign up:</h1>
<form>
<label for="first-name">First Name:</label>
<br>
<input type="text" id="first-name" placeholder="John" required minlength="3">
<br><br>
<label for="last-name">Last Name:</label>
<br>
<input type="text" id="last-name" placeholder="Doe" required minlength="2">
<br><br>
<label for="email">Email Address:</label>
<br>
<input type="email" id="email" placeholder="johnD@gmail.com" required>
<br><br>
<label for="birth_date">When is your birthday?</label>
<br>
<input type="date" id="birth_date" required>
<br><br>
<label for="fav_sport">Choose your favourite sport:</label>
<br>
<select required name="sports" id="fav_sport">
<option value="">Choose</option>
<option value="Football">Football</option>
<option value="Tennis">Tennis</option>
<option value="Swimming">Swimming</option>
<option value="Golf">Golf</option>
<option value="Basketball">Basketball</option>
</select>
<br><br>
<label for="bio">Tell us something about you:</label>
<br><br>
<textarea name="user_bio" id="bio" cols="30" rows="10" required></textarea>
<br>
<button type="submit">Submit</button>
<button type="reset">Clear form</button>
</form>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Expense table</title>
</head>
<body>
<table>
<thead>
<tr>
<th>DATE</th>
<th>EXPENSES</th>
<th>EXTRA ANNOTATIONS</th>
</tr>
</thead>
<tbody>
<tr>
<td>1/5/19</td>
<td>Groceries</td>
<td>Might come back before the end of the month</td>
</tr>
<tr>
<td>10/5/19</td>
<td>School supplies</td>
<td>None</td>
</tr>
<tr>
<td>24/5/19</td>
<td>Eletricity Bill</td>
<td>Next one's due in June.</td>
</tr>
</tbody>
</table>
</body>
</html>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Image, video and sound</title>
</head>
<body>
<h1>Hello there! Here's an image:</h1>
<figure>
<img src="images/kitten.jpg" alt="kitten">
<figcaption>A black, white and grey kitten.</figcaption>
</figure>
<h2>Also, here's a sound track</h2>
<audio controls>
<source src="audio/Glitter_sound_effect.mp3" type="audio/mpeg">
- This is just in case the format isn't supported -
</audio>
<h3>Finally, a video. Enjoy!</h3>
<video width="300" height="300" poster="/images/the_duck_song.jpg" controls>
<source src="video/The_Duck_Song.mp4" type="video/mp4">
- This is just in case the format isn't supported -
</video>
</body>
</html>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Forms</title>
</head>
<body>
<h1>Sign up:</h1>
<form>
<label for="first-name">First Name:</label>
<br>
<input type="text" id="first-name" placeholder="John" required minlength="3">
<br><br>
<label for="last-name">Last Name:</label>
<br>
<input type="text" id="last-name" placeholder="Doe" required minlength="2">
<br><br>
<label for="email">Email Address:</label>
<br>
<input type="email" id="email" placeholder="johnD@gmail.com" required>
<br><br>
<label for="birth_date">When is your birthday?</label>
<br>
<input type="date" id="birth_date" required>
<br><br>
<label for="fav_sport">Choose your favourite sport:</label>
<br>
<select required name="sports" id="fav_sport">
<option value="">Choose</option>
<option value="Football">Football</option>
<option value="Tennis">Tennis</option>
<option value="Swimming">Swimming</option>
<option value="Golf">Golf</option>
<option value="Basketball">Basketball</option>
</select>
<br><br>
<label for="bio">Tell us something about you:</label>
<br><br>
<textarea name="user_bio" id="bio" cols="30" rows="10" required></textarea>
<br>
<button type="submit">Submit</button>
<button type="reset">Clear form</button>
</form>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My todo list</title>
</head>
<body>
<h1>My todo list.</h1>
<ul>
<li>Todo item N°1</li>
<li>Todo item N°2</li>
<li>Todo item N°3</li>
<li>Todo item N°4</li>
<li>Todo item N°5</li>
</ul>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
IV) Considering that the viewport tag is composed of many important elements, without such tag, the efectivity of all those elements will be lost. This means that, for example, without the ' content= width=device-width ' part, we would not be able to count on a set width for the page depending on the screens we visualize it from. Therefore, removing this tag would greatly affect our capability for visualizing the site in diferent mobile devices and different-sized screens.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Expense table</title>
</head>
<body>
<table>
<thead>
<tr>
<th>DATE</th>
<th>EXPENSES</th>
<th>EXTRA ANNOTATIONS</th>
</tr>
</thead>
<tbody>
<tr>
<td>1/5/19</td>
<td>Groceries</td>
<td>Might come back before the end of the month</td>
</tr>
<tr>
<td>10/5/19</td>
<td>School supplies</td>
<td>None</td>
</tr>
<tr>
<td>24/5/19</td>
<td>Eletricity Bill</td>
<td>Next one's due in June.</td>
</tr>
</tbody>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Image, video and sound</title>
</head>
<body>
<h1>Hello there! Here's an image:</h1>
<figure>
<img src="images/kitten.jpg" alt="kitten">
<figcaption>A black, white and grey kitten.</figcaption>
</figure>
<h2>Also, here's a sound track</h2>
<audio controls>
<source src="audio/Glitter_sound_effect.mp3" type="audio/mpeg">
- This is just in case the format isn't supported -
</audio>
<h3>Finally, a video. Enjoy!</h3>
<video width="300" height="300" poster="/images/the_duck_song.jpg" controls>
<source src="video/The_Duck_Song.mp4" type="video/mp4">
- This is just in case the format isn't supported -
</video>
</body>
</html>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading