Skip to content

Commit d0f0b90

Browse files
committed
Add the readme
1 parent 9106f28 commit d0f0b90

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

readme.md

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,76 @@
1-
# HTML | Cloning Medium
1+
![Ironhack Logo](https://i.imgur.com/1QgrNNw.png)
2+
3+
# Module Exercise: HTML
4+
5+
## Learning Goals
6+
7+
In this Module Exercise you will apply all the concepts you have been learning:
8+
9+
- Use different HTML tags.
10+
- Structure your HTML page with **Block Elements**.
11+
- Add content to your HTML page with **Inline Elements**.
12+
13+
## Requirements
14+
15+
- Go to the [HTML module exercise repository](https://github.com/ironhack-labs/lab-html-cloning-medium) in Github.
16+
- Click on the button "Clone or download" and a window will appear:
17+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_3cd92839c499fe04b53a5bbee5ce2dfe.png)
18+
- Click the button "Download as zip"
19+
20+
## Exercise
21+
22+
### Starter Code
23+
24+
The `starter-code` folder contains an `index.html` file with the main structure already created. We also provide an `images` folder where you will find all the images you need to acomplish the exercise.
25+
26+
### Instructions
27+
28+
In this exercise, you will clone a [Medium](https://medium.com/) article. Medium is a site that contains very interesting articles of several topics, we highly recommend you to follow some of the authors if you have interest in [Digital Design](https://medium.com/topic/digital-design), [JavaScript](https://medium.com/tag/javascript), [Bitcoins](https://medium.com/tag/bitcoin), or [Artificial Intelligence](https://medium.com/tag/artificial-intelligence).
29+
30+
In this exercise, you will clone the [8 Things Every Person Should Do Before 8 a.m.](https://medium.com/the-mission/8-things-every-person-should-do-before-8-a-m-cc0233e15c8d) article. This is a two-part article, where we are going to clone first of all the HTML Structure. In the second part of the exercise, we are going to style this HTML structure.
31+
32+
As you can see, the article is very long. We want you to get focus on the HTML structure, not in the content. In each article section, it's enough to copy-paste three paragraphs of content, not the whole content. For example, in the following section you have to add just the paragraphs in the red box:
33+
34+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_de7472368e4d78c834d0df5cdf281a20.png)
35+
36+
As you can see, you just have to add the section's title and the first three paragraphs. You have also to remember that you just have to add the HTML structure. So, for the image above, the result we want is the following:
37+
38+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_5ff67c9322ec4d409cd80cfa9cdc58e9.png)
39+
40+
**As you can see, we don't have any kind of styles here, just HTML and text.** The most difficult part of this exercise is try to figure out what you need to structure the article, so in the next part of the exercise you will not find too many problems while styling the article.
41+
42+
Our recommendation is: try to avoid thinking in the composition, just in the text and images. Try to identify the different sections, and add `id`'s to each `<div>`, `<section>`, `<article>`, or `<header>` block elements to identify this elements. i.e.:
43+
44+
![](https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_53c860ca75220e0d63fc9c424f0ecd1f.png)
45+
46+
We could try to represent the header of the article as it follows:
47+
48+
```htmlmixed
49+
<header>
50+
<a href="https://medium.com/">
51+
<img src="images/medium-logo.png" alt="Medium">
52+
</a>
53+
54+
<a href="https://medium.com/the-mission?source=logo-c46f69768379---b230ea2a6eb8">
55+
<img src="images/the-mission-logo.png" alt="The Mission">
56+
</a>
57+
58+
<a href="#">Follow</a>
59+
60+
<a href="https://twitter.com/TheMissionT" target="_blank">
61+
<img src="images/twitter-logo.png" alt="Twitter account">
62+
</a>
63+
64+
<a href="https://facebook.com/TheMissionInc" target="_blank">
65+
<img src="images/facebook-logo.png" alt="Facebook account">
66+
</a>
67+
68+
<img src="images/search-logo.png" alt="Search">
69+
<img src="images/bell-logo.png" alt="Notifications">
70+
<div id="profile-picture"></div>
71+
</header>
72+
```
73+
74+
The result of this HTML code will be just plain text and images... but don't worry for that, you are going to style this page later on in another exercise :)
75+
76+
/Happy coding!

0 commit comments

Comments
 (0)