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
7 changes: 7 additions & 0 deletions HTML-CSS-GitHub/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[![License: CC BY 4.0](https://licensebuttons.net/l/by/4.0/80x15.png)](https://creativecommons.org/licenses/by/4.0/) : 2019 -> Present

Licensed by Hack Your Future Belgium: @HackYourFutureBelgium, https://hackyourfuture.be, contact@hackyourfuture.be

___
___
### <a href="https://hackyourfuture.be" target="_blank"><img src="https://user-images.githubusercontent.com/18554853/63941625-4c7c3d00-ca6c-11e9-9a76-8d5e3632fe70.jpg" width="100" height="100"></img></a>
84 changes: 84 additions & 0 deletions HTML-CSS-GitHub/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<h1 align="center">HackYourFuture Belgium</h1>

<div align="center">
<a href="https://hackyourfuture.be" target="_blank">
<img src="https://user-images.githubusercontent.com/18554853/63941625-4c7c3d00-ca6c-11e9-9a76-8d5e3632fe70.jpg" width="250" height="250"/>
</a>
</div>

# Getting started

> Welcome to your first training at HYF. Please read completely this file and make sure you understand everything.
Happy learning 😁

This repo contains all the materials for the module 1: `HTML, CSS`. The homework, exercises, and study code are in the main repository for you to fork and complete, all the lesson plans and weekly information are [in the wiki](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki) and the slides from class are [right here](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/slides/).

While this module is called "HTML & CSS", it's important to remember that you also need to learn how to Fork & Pull Request on GitHub, to Push and Pull your work between GitHub and your computer, and to develop locally on your computer using a browser+DevTools and a specialized text editor.

In the first weeks it's very likely that you'll spend as much time figuring out how to publish and turn in your projects as you will spend building them. _This is totally normal and OK!_ Working like a developer takes time and practice to get good at, and at this point in your learning it's even more important than mastering HTML & CSS!

So on days when you find yourself spending a couple hours trying to push your homework or send a PR for your coach to look over your homework, remind yourself that it's all time well spent. Mastering these skills _now_ will free your time _later_ to focus on studying the more interesting and challenging skills in this course.

### Your mission

- Prepare each class by reading the [wiki](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki) preparation work called [Prep Work (for week 1)](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki/Prep-Work-wk-1)
- During class, be focus, ask questions as much as you can, help your teammates when they are struggling.

---

## It's not finished... yet!

If only four hours a week were enough to learn web development! But sadly it's not :( Along side coming to class, you will have homework assignments.

There are three types of homework:
* [__Weekly Projects__](#weekly-projects): The goal of these projects is for you to practice integrating all of your skills into one live web site. These assignments are due each Thursday.
* [__Module Exercises__](#module-exercises): The module exercises are a chance for you to focus in on some of the trickier or more important new skills without having to think about an entire project. These exercises are due at the end of the module with the third week's project.
* [__Suggested Study__](#suggested-study): The goal of Suggested Studies is to help you review old skills and prepare for new ones by providing you with small exercises that don't always result in a finished product but are always worth your time. If you ever find yourself with some time to study but not enough to dig into the Projects or Exercises, Suggested Studies are there for you! We won't be checking that you do these exercises, but you'll feel it later on if you don't :)

### Weekly Projects

Each week you will be required to complete a small project that integrates everything you've learned so far (HTML, CSS, GitHub, working locally, incremental development). The goal of these projects is to practice planning and building projects in a methodical and structured way, and to write the cleanest and most correct code possible. The goal of these projects _is not_ to build the fanciest most beautiful website, to use all the latest CSS tricks, or to use cool libraries and API's.

Here's a short list of do's and don't's that can help you stay on track:

__DO__
* ... use only plain HTML & CSS (no CSS frameworks like Bootstrap or Material!)
* ... completely finish one step of the project before moving on to the next
* ... be very careful about your CSS classes, selectors and id's
* ... Properly indent your code
* ... find the simplest solution to each step of the project
* ... start each step of the project by copy-pasting the last step

__Don't__
* ... think that your site can be pretty enough to make up for messy code
* ... use any CSS libraries or frameworks
* ... make the any steps of your project do less _or more_ than is assigned
* ... move on to the next step before the previous one is finished
* ... include any JavaScript

Take a look at the completed example to study to get an idea what's expected of you:
* [the live example](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/study-code/example-project-feedback-form/)
* [it's source code](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/tree/master/study-code/example-project-feedback-form).

You can also preview the assignments here:
1. [human-intelligence TicTacToe board](./homework/week-1-project)
1. [responsive Web Designer site](./homework/week-3-project)
1. [replicate DuckDuckGo](./homework/week-3-project)

### Module Exercises

Along side Sunday classes and weekly projects which focus on integrating your skills, you'll be expected to complete a set of exercises to focus in and practice certain skills in isolation. While the project teaches how to integrate your skills, the exercises will focus on strengthening individual skills. This module's exercises can be found [in the exercise folder](./homework/module-exercises).

Exercises are all due at the end of the Module, we won't be checking your exercises each week (unless you have some questions of course!). We also won't accept any homework for JavaScript 1 until you have submitted your exercises from HTML & CSS.

So be organized about this! It's a lot easier to finish these exercises if you study them an hour a day than if you cram it all into the last weekend, and you'll learn a whole lot more along the way.


### Suggested Study

You can find our study suggestions in each week's ```Homework``` page from the wiki.


---
---
### <a href="https://hackyourfuture.be" target="_blank"><img src="https://user-images.githubusercontent.com/18554853/63941625-4c7c3d00-ca6c-11e9-9a76-8d5e3632fe70.jpg" width="100" height="100" alt="Hack Your Future: Belgium"></img></a>
28 changes: 28 additions & 0 deletions HTML-CSS-GitHub/homework/module-exercices/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## HTML & CSS Exercises

This folder is for your Module 1 exercises, which are all due at the end of the module. We won't be checking your exercises every week but that doesn't mean you shouldn't be working on them every week! It'll be a lot more work to finish all of this in 2 days than 3 weeks.

But what's this all about with exercises? Isn't a weekly project enough? Not it's not! The weekly project will help you learn to plan and build whole projects, but that's not the same thing as practicing all the little skills it takes to get there.

For this module, we expect you to complete the [Applied Accessiblity](https://learn.freecodecamp.org/responsive-web-design/applied-accessibility) lessons from FreeCodeCamp then to copy your solutions into this folder. We've completed the first exercise so you can see how we expect you to submit solutions.

You can read more about Applied Accessibility [right here](https://guide.freecodecamp.org/accessibility).

---

### Live Demos

Along with completing each example, we'd like you to put each one as a live web page on GitHub pages. This will help us grade it, and help you see how much you've built so far!

We've set up the first completed exercise as an example for you to see how this works. (ps. this will only run if you turn on GitHub pages for your repo!)

[__See my Live Demos__](https://your user name.github.io/HTML-CSS-GitHub/homework/module-exercises):
1. [Add an Accessible Date Picker](./1-add-an-accessible-date-picker.html)
1. [Add a Text Alternative to Images for Visually Impaired Accessibility](fill this in!)
1.



---
---
### <a href="https://hackyourfuture.be" target="_blank"><img src="https://user-images.githubusercontent.com/18554853/63941625-4c7c3d00-ca6c-11e9-9a76-8d5e3632fe70.jpg" width="100" height="100" alt="Hack Your Future: Belgium"></img></a>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!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">
<link rel="stylesheet" href="./style.css">
</head>

<body>

</body>

</html>
Empty file.
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 name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./style.css">
</head>

<body>

<header>
<h1>Tic Tac Toe</h1>
</header>
<main></main>

<div></div>

<footer></footer>


</body>

</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body {
text-align: center;
}
h1 {
color: blue;
text-align: center;
font-size: 300%;
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!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">
<link rel="stylesheet" href="./style.css">
</head>

<body>

<header>
<h1>Tic Tac Toe</h1>
</header>
<main></main>

<div class="tooltip">
<h3>RULES FOR TIC-TAC-TOE</h3>
<span class="tooltiptext">
1. The game is played on a grid that's 3 squares by 3 squares. 2. You are X, your friend (or
the computer in this case) is O. Players take turns putting their marks in empty squares. 3.
The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the
winner. 4. When all 9 squares are full, the game is over. If no player has 3 marks in a row,
the game ends in a tie.</span
>
</div>

<footer></footer>


</body>

</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
body {
text-align: center;
}
h1 {
color: blue;
text-align: center;
font-size: 300%;
}

.tooltip {
position: relative;
display: inline-block;
}

.tooltip h3 {
color: blue;
text-align: center;
font-size: 1rem;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 100%;
background-color: black;
color: #fff;
text-align: center;
border-radius: 2rem;
padding: 1rem 0;
position: absolute;
}

.tooltip:hover .tooltiptext {
visibility: visible;
}
104 changes: 104 additions & 0 deletions HTML-CSS-GitHub/homework/week-1-project/3-unplayable-board/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<!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">
<link rel="stylesheet" href="./style.css">
</head>

<body>

<header>
<h1>Tic Tac Toe</h1>
</header>
<table id="board">
<tr>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option
>>
</select>
</td>
</tr>
<tr>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
<td>
<select>
<option></option>
<option></option>
<option></option>
</select>
</td>
</tr>
</table>
</main>

<div class="tooltip">
<h3>RULES FOR TIC-TAC-TOE</h3>
<span class="tooltiptext">
1. The game is played on a grid that's 3 squares by 3 squares. 2. You are X, your friend (or
the computer in this case) is O. Players take turns putting their marks in empty squares. 3.
The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the
winner. 4. When all 9 squares are full, the game is over. If no player has 3 marks in a row,
the game ends in a tie.</span
>
</div>

<footer></footer>


</body>

</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
body {
text-align: center;
}
h1 {
color: blue;
text-align: center;
font-size: 300%;
}

#board {
display: flex;
justify-content: center;
}

.tooltip {
position: relative;
display: inline-block;
}

.tooltip h3 {
color: blue;
text-align: center;
font-size: 1rem;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 100%;
background-color: black;
color: #fff;
text-align: center;
border-radius: 2rem;
padding: 1rem 0;
position: absolute;
}

.tooltip:hover .tooltiptext {
visibility: visible;
}
Loading