Skip to content

Commit f3cfaac

Browse files
committed
Import html-and-css
Probably identical to https://github.com/HackYourFuture-CPH/programme/tree/main/courses/Foundation/HTML-CSS. I will check this next.
1 parent cc4344b commit f3cfaac

File tree

19 files changed

+254
-2
lines changed

19 files changed

+254
-2
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Pre-course materials
2+
3+
This section lists the steps you have to complete **BEFORE** the bootcamp starts.
4+
5+
You are going to be fully self-learning `HTML` and `CSS`, so it is very important and **mandatory** that you complete the steps before the first sunday session at HackYourFuture.
6+
7+
You will also get a little introduction to `Javascript`, so that you can be more comfortable jumping into it when the course starts.
8+
9+
## HTML and CSS
10+
11+
### freeCodeCamp certifications
12+
13+
The `freeCodeCamp` courses are a good way to learn and their certifications are widely recognized, therefore we use this platform to give you a good start with learning `Web Development` and having a way to showcase your learning.
14+
15+
### What you have done so far
16+
17+
There are 5 parts in the [Responsive Web Design certification](https://www.freecodecamp.org/learn/2022/responsive-web-design/). Each part contains a few sections and a certification project at the end of each part.
18+
You have already finished at least 2 sections from the first part as part of the application assignment:
19+
20+
- [Learn HTML by Building a Cat Photo App](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/)
21+
22+
- [Learn Basic CSS by Building a Cafe Menu](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/)
23+
24+
### What you have to do before the first Sunday session
25+
26+
You should finish the first part and the certification project that goes with it:
27+
28+
- [Learn CSS Colors by Building a Set of Colored Markers](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-colors-by-building-a-set-of-colored-markers)
29+
30+
- [Learn HTML Forms by Building a Registration Form](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form)
31+
32+
- [Certification Project - Survey Form](https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-survey-form-project/build-a-survey-form)
33+
34+
This will familiarise you with `CSS` colors and building `Forms` with `HTML` and `CSS`, which are both essential parts of basic Web Development knowledge.
35+
36+
You should also complete 2 more sections from the second part:
37+
38+
- [Learn the CSS Box Model by Building a Rothko Painting](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-the-css-box-model-by-building-a-rothko-painting)
39+
- [Learn CSS Flexbox by Building a Photo Gallery](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery)
40+
41+
Learning the CSS Box Model and Flexbox will give you very good foundational knowledge to deal with any styling or layout challenge.
42+
43+
## JavaScript
44+
45+
Complete these steps in the freeCodeCamp [JavaScript Algorithms and Data Structures certification](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/):
46+
47+
- [Comment Your JavaScript Code](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/comment-your-javascript-code)
48+
- [Declare JavaScript Variables](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/declare-javascript-variables)
49+
- [Storing Values with the Assignment Operator](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator)
50+
- [Assigning the Value of One Variable to Another](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/assigning-the-value-of-one-variable-to-another)
51+
- [Initializing Variables with the Assignment Operator](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/initializing-variables-with-the-assignment-operator)
52+
- [Declare String Variables](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/declare-string-variables)
53+
- [Understanding Uninitialized Variables](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables)
54+
- [Understanding Case Sensitivity in Variables](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/understanding-case-sensitivity-in-variables)
55+
- [Explore Differences Between the var and let Keywords](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/explore-differences-between-the-var-and-let-keywords)
56+
- [Declare a Read-Only Variable with the const Keyword](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword)
57+
- [Add Two Numbers with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/add-two-numbers-with-javascript)
58+
- [Subtract One Number from Another with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript)
59+
- [Multiply Two Numbers with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/multiply-two-numbers-with-javascript)
60+
- [Divide One Number by Another with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript)
61+
- [Increment a Number with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/increment-a-number-with-javascript)
62+
- [Decrement a Number with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/decrement-a-number-with-javascript)
63+
- [Create Decimal Numbers with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/create-decimal-numbers-with-javascript)
64+
- [Multiply Two Decimals with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/multiply-two-decimals-with-javascript)
65+
- [Divide One Decimal by Another with JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript)
66+
- [Finding a Remainder in JavaScript](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript)
67+
- [Compound Assignment With Augmented Addition](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-addition)
68+
- [Compound Assignment With Augmented Subtraction](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-subtraction)
69+
- [Compound Assignment With Augmented Multiplication](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-multiplication)
70+
- [Compound Assignment With Augmented Division](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-division)
71+
72+
If you like the `freeCodeCamp` format, you should definitely continue beyond what we ask of you and attain the various relevant certifications - especially by finishing off the **Responsive Web Design** and **Javascript Algorithms and Data Structures** certifications!
73+
74+
### Submitting your preparation
75+
76+
Before the first Sunday session, you must have completed all the steps listed above. You then need to make your freeCodeCamp profile public - [Video here to show you how to do this](https://www.loom.com/share/019547eab49e4e198fd2d24f6cb27d3c) - and post a link to your profile in your class Slack channel. If you do not do this before the first Sunday session, you will not be able to continue with the course.
77+
78+
### What if?
79+
80+
- If you have completed all these parts already, just continue further with the certifications. You are here to learn after all and you are entering a journey of self-teaching!
81+
82+
- If you have not completed the steps listed above from the `Responsive Web Design` ceritification and the `JavaScript Algorithms and Data Structures` certification by the time of the first Sunday session, you will not be able to continue with the course.
83+
84+
- Stuck or need help? Please use your class Slack channel to ask for help from your fellow students. Asking for help, explaining the problems you have, and sharing your own knowledge with your fellow students are all very important to succeed in HackYourFuture, so start practicing right now!

legacy/html-and-css/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1-
# html-and-css
1+
# HTML-CSS
22

3-
TODO
3+
This repository contains the course material for the one and only HTML/CSS session. During the session we will review the concepts learned from the [Pre-course](/Pre-course/readme.md) materials and work hands-on with a large [exercise](/The-one-and-only-week1/readme.md).
4+
5+
| Week | Topic | Preparation | Lesson Plan | Homework |
6+
| ---- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------------------------------------------ | ------------------------ |
7+
| 1. | Advanced HTML & CSS concepts, hands-on exercise turning Figma Wireframe into code, teamwork & peer-learning | [Pre-course](/Pre-course/readme.md) | [Lesson Plan](/The-one-and-only-week1/readme.md) | [Homework](/homework.md) |
8+
9+
## Learning goals
10+
11+
- Round-up the [Pre-course](/Pre-course/readme.md) materials
12+
- Talk about any possible questions regarding the concepts learned so far
13+
- Briefly introduce Figma
14+
- Spend a lot of time with hands-on coding, figuring out the [exercise](/The-one-and-only-week1/readme.md)
15+
- Learn to work efficiently with your teammates
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Order form exercise
2+
3+
Use the `Session-exercise-template` to get started!
4+
5+
Design:
6+
<https://www.figma.com/file/VwksDkp1vSPhpfa62LWIAz/HTML%2FCSS-session1?type=design&node-id=0-1&mode=design&t=seawrJIXVyPoIt9L-0>
7+
8+
![Desktop design](Session-exercise-template/images/order-desktop.png)
9+
10+
![Mobile design](Session-exercise-template/images/order-mobile.png)
294 KB
Loading
309 KB
Loading
182 KB
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* var(--gradient) */
2+
/* :root {
3+
--gradient: your gradient color here;
4+
} */
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="stylesheet" type="text/css" href="order.css" />
7+
<title>PAYMENT <span>FORM</span></title>
8+
</head>
9+
10+
<body>
11+
<header>
12+
<div id="order-summary"></div>
13+
</header>
14+
15+
<form>
16+
<div>
17+
<h2 id="">Payment Method</h2>
18+
</div>
19+
20+
<div id="">
21+
<h2 id="">Card Info</h2>
22+
<div id="">
23+
<div>
24+
<label for="card-number">Card number</label><br />
25+
<input
26+
type="text"
27+
id=""
28+
placeholder="1234 1234 1234 1234"
29+
name="card-number"
30+
required
31+
/>
32+
</div>
33+
34+
<div>
35+
<label for="exp-date">Expiry date</label><br />
36+
<input
37+
type="text"
38+
id=""
39+
placeholder="MM / YY"
40+
name="exp-date"
41+
required
42+
/>
43+
</div>
44+
45+
<div>
46+
<label for="sec-code">Security code</label><br />
47+
<input
48+
type="text"
49+
id=""
50+
placeholder="CVV"
51+
name="sec-code"
52+
required
53+
/>
54+
</div>
55+
</div>
56+
</div>
57+
58+
<input type="submit" id="buy-now" value="Buy now" />
59+
<p id="">Need Help?</p>
60+
</form>
61+
</body>
62+
</html>
81.9 KB
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# How to submit the first homework
2+
3+
While you have not gone through [Git](https://github.com/HackYourFuture-CPH/Git) yet, you will submit your first homework in a different way. This applies only to the first homework. If you are confident with basic Git already, feel free to do the submission in a proper version-control way.
4+
5+
`1.` go to your homework repository`*` on github and to the branches section:
6+
7+
![screenshot](images/image.png)
8+
9+
`2.` find the "New branch" button and create a new branch, that follows the naming convention:
10+
`html-css/yourname`
11+
12+
- ❌ html/css/maria
13+
- ❌ hmtl-css/maria
14+
- ❌ html-css-homework
15+
- ❌ html/maria
16+
- ❌ htmlcss/maria
17+
- ✅ html-css/maria
18+
19+
`3.` go to the branch. It appears in the branch overview right after creation:
20+
21+
![screenshot](./images/image-1.png)
22+
23+
Or, if you are not there for some reason, go back to the repository overview and find your new branch in the drop-down:
24+
25+
![screenshot](./images/image-2.png)
26+
27+
To verify that you have switched to the branch, it should appear selected:
28+
29+
![screenshot](./images/image-3.png)
30+
31+
`4.` go to the html-css folder and upload your homework:
32+
33+
![screenshot](./images/image-4.png)
34+
35+
`5.` write a commit message and press "Commit changes":
36+
37+
![screenshot](./images/image-5.png)
38+
39+
`6.` go to "Pull requests" in the repository bar, and create a new pull request to the main branch <- from your branch:
40+
41+
![screenshot](./images/image-6.png)
42+
43+
`7.` that is it! You should see your pull request listed in the "Pull requests" tab.
44+
45+
`8.` post a link to your homework Pull Request in your class channel.
46+
47+
`*` it is either your own homework repository in your own GitHub account or the central class homework repository in the HackYourFuture-CPH GitHub account - depending on what approach is being followed for your class. Follow the information and instructions regarding this, and ask if you are still unsure.

0 commit comments

Comments
 (0)