Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

001 primer entrega #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
File renamed without changes.
48 changes: 48 additions & 0 deletions src/week1/day0/1 - HTML/expenses.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!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>Document</title>
</head>

<body>
<header>
<h1>Excercise 1 - Expenses</h1>
</header>
<section>
<table>
<thead>
<th>Expense</th>
Copy link

@lepi-glb lepi-glb Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing TR, th should also be included in rows

<th>Month</th>
<th>Year</th>
<th>Ammount</th>
</thead>
<tbody>
<tr>
<td>Water service</td>
<td>July</td>
<td>2018</td>
<td>$500</td>
</tr>
<tr>
<td>Electricity</td>
<td>July</td>
<td>2018</td>
<td>$1000</td>
</tr>
<tr>
<td>Gas</td>
<td>June</td>
<td>2018</td>
<td>$800</td>
</tr>

</tbody>
</table>
</section>
</body>

</html>
31 changes: 31 additions & 0 deletions src/week1/day0/1 - HTML/img-vid-sound.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!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>Document</title>
</head>

<body>
<header>
<h1>Excercise 1 - Image, video & sound</h1>
</header>
<section>
<h2>Image</h2>
<img src="./res/example-image.jpg" alt="Image">
<h2>Sound</h2>
<audio controls>
<source src="./res/example-sound.mp3" type="audio/mp3">
</audio>

<h2>Video</h2>
<video controls>
<source src="./res/example-video.mp4" type="video/mp4">
</video>

</section>
</body>

</html>
Binary file added src/week1/day0/1 - HTML/res/example-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/week1/day0/1 - HTML/res/example-sound.mp3
Binary file not shown.
Binary file added src/week1/day0/1 - HTML/res/example-video.mp4
Binary file not shown.
60 changes: 60 additions & 0 deletions src/week1/day0/1 - HTML/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!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>Document</title>
</head>

<body>
<header>
<h1>Excercise 1 - Sign Up form</h1>
</header>
<section>
<form action="">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing accessibility on all form controls

<!-- First name -->
<div>
<label for="first-name">First name</label>
<input type="text" name="first-name" id="first-name" required>
</div>
<!-- Last name -->
<div>
<label for="last-name">Last name</label>
<input type="text" name="last-name" id="last-name" required>
</div>
<!-- E-mail -->
<div>
<label for="email">E-mail</label>
<input type="email" name="email" id="email" required>
</div>
<!-- Birthday -->
<div>
<label for="bday">Birthday</label>
<input type="date" name="bday" id="bday">
</div>
<!-- Favourite sport -->
<div>
<label for="sport">Favourite sport</label>
<select name="sport" id="sport">
<option value="football">Football</option>
<option value="basketball">Basketball</option>
<option value="tennis">Tennis</option>
</select>
</div>
<!-- User's bio -->
<div>
<label for="bio">User's bio</label>
<textarea name="bio" id="bio" cols="30" rows="10"></textarea>
</div>
<!-- Buttons -->
<div>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</div>
</form>
</section>
</body>

</html>
26 changes: 26 additions & 0 deletions src/week1/day0/1 - HTML/todo-list.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>Document</title>
</head>

<body>
<header>
<h1>My todo list</h1>
</header>
<section>
<ul>
<li>Todo 1</li>
<li>Todo 2</li>
<li>Todo 3</li>
<li>Todo 4</li>
<li>Todo 5</li>
</ul>
</section>
</body>

</html>
62 changes: 62 additions & 0 deletions src/week1/day0/2 - CSS/css/gallery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
h1, p, span {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 375px) {
h1 {
font-size: 1.5rem;
}
}

.col-title {
width: 30%;
}

.col-subtitle {
width: 60%
}

.row {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.img-box {
width: 25rem;
padding: 10px;
position: relative;
}

img {
width: 100%;
}

.caption {
position: absolute;
width: -webkit-fill-available;
margin: 10px;
left: 0;
top: 0;
text-align: center;
background-color: #000000;
padding: 5px 0;
opacity: 0;
transition: ease-in-out 0.6s
}

.img-box:hover>.caption {
opacity: 0.8;
}

.caption p {
color: #ffffff;
font-size: 1.3rem;
text-transform: uppercase;
margin: 0;
}

.caption span {
color: #d3d3d3;
font-style: italic;
}
Loading