You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
<h2>Learning Goals</h2>
8
8
</summary>
9
9
10
-
This exercise is designed to allow you practice and apply the concepts and techniques taught in class.
10
+
This exercise allows you to practice and apply the concepts and techniques taught in class.
11
11
12
12
Upon completion of this exercise, you will be able to:
13
13
@@ -27,10 +27,10 @@
27
27
28
28
**Slack** is a cloud-based set of team collaboration tools and services, or in simpler terms, an online chat application.
29
29
30
-
We use the Slack app almost every day to keep our communications with our classmates and the **Ironhack** team, but today we will be focusing on their landing page. In today's lab, we'll recreate Slack's landing page while ensuring it's responsive and adapts well to different screens. You can see the web page that we will be cloning [here](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=125%3A3&scaling=scale-down-width&page-id=125%3A2&starting-point-node-id=125%3A3&hide-ui=1).
30
+
Slack app is used in daily communications within different teams in companies, but today we will be focusing on their landing page. In today's lab, we'll recreate Slack's landing page while ensuring it's responsive and adapts well to different screens. You can see the web page we will be cloning [here](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=125%3A3&scaling=scale-down-width&page-id=125%3A2&starting-point-node-id=125%3A3&hide-ui=1).
31
31
32
32
33
-
The goal of the lab is to create a *responsive* landing page using **CSS** and **Flexbox**.
33
+
The lab's goal is to create a *responsive* landing page using **CSS** and **Flexbox**.
34
34
35
35
## Requirements
36
36
@@ -65,11 +65,11 @@ During each iteration, the first step you should do is to inspect the provided s
65
65
66
66
## Iteration 0 | Introduction to Figma
67
67
68
-
The first step during every iteration will be to inspect the design files. These were created using Figma and are usually handed off to developers by designers. [Figma](https://www.figma.com/) is a web-based UI (User Interface) design tool, used for creating design prototypes for websites and applications.
68
+
The first step during every iteration will be to inspect the design files. These were created using Figma and are usually handed off to developers by designers. [Figma](https://www.figma.com/) is a web-based UI (User Interface) design tool used for creating design prototypes for websites and applications.
69
69
70
70
Figma is great because it allows designers and developers to collaborate on projects while also making it simple to share and preview web page designs.
71
71
72
-
When you begin working as a developer, your team will likely use Figma to hand off to you the designs of the features you will be asked to create. We're going to assume you've never seen Figma before, so don't worry. The following short videos should get you up to speed:
72
+
When you begin working as a developer, your team will likely use Figma to hand off to you the designs of the features you will be asked to create. We will assume you've never seen Figma before, so don't worry. The following short videos should get you up to speed:
73
73
74
74
- [What is Figma?](https://www.youtube.com/watch?v=_d8GG2QZYAM)
75
75
- [Figma for Frontend developers [ in 5 minutes ]](https://www.youtube.com/watch?v=hbN9RGcQFNU)
@@ -80,9 +80,9 @@ When you begin working as a developer, your team will likely use Figma to hand o
80
80
81
81
### Iteration 1 | Mobile Screens (width < 768px)
82
82
83
-
Mobile first right? :wink:
83
+
Mobile first, right? :wink:
84
84
85
-
We will start by focusing on the styles for mobile screens first! :iphone: Oh! Remember to use **Flexbox** to create the layout and display the content in rows or columns from the start. You'll be working on adapting the layout to different screen sizes in the following iterations, so it's essential that you start using Flexbox from start to end!
85
+
We will start by focusing on the styles for mobile screens first! :iphone: Oh! Remember to use **Flexbox** to create the layout and display the content in rows or columns from the start. You'll be working on adapting the layout to different screen sizes in the following iterations, so it's essential that you start using Flexbox from beginning to end!
86
86
87
87
88
88
@@ -126,7 +126,7 @@ You can inspect the page styles here:
126
126
### Iteration 2 | Small Screens (width > 768px and width < 1024px)
127
127
128
128
Let's start growing our screen size. In this iteration, you will work on making the website look great on small screens (iPads, tablets, or larger smartphones). You will have to use CSS [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) to apply the style and layout changes. Take a look at the preview and the screenshot to see the changes that are needed. Your task is to work on the following:
129
-
- The **header** should go from 1 column to display 2 columns: one with the content and buttons, and the other with the image.
129
+
- The **header** should go from 1 column to display 2 columns: one with the content and buttons and the other with the image.
130
130
- The **company logos** should be displayed in a single row.
131
131
- The **images** in the sections in the **main** part should be fully displayed and aligned to the left or right side of the page, respectively.
132
132
- The **section "Teams large and small rely on Slack"** should have the list items and the buttons displayed horizontally as rows.
@@ -170,7 +170,7 @@ You can inspect the page styles here:
170
170
We'll continue by focusing on devices with medium-sized screens (notebooks and bigger tablets). Similar to the previous iteration, you will have to use CSS media queries to apply the style and layout changes. The most noticeable changes in this viewport size are:
171
171
- The **navbar** should now display all the menu links. The previously displayed menu icon should now be hidden.
172
172
- The **sections** in the **main** part should now display the content in 2 columns: one column for the heading and text, and the other for the image.
173
-
- The **section "Welcome to your new digital HQ"** should now have the buttons displayed horizontally as rows.
173
+
- The **section "Welcome to your new digital HQ"** should now display the buttons horizontally as rows.
174
174
175
175
<br>
176
176
@@ -213,7 +213,7 @@ You can inspect the page styles here:
213
213
214
214
Last one! Some small changes and we are done! In this iteration we are targeting large-screen devices such as desktops and laptops:
215
215
- The **signup buttons** in the **header** should now be displayed horizontally, next to each other.
216
-
- Additionally, the image shown in the **header** should be centered and fully visible.
216
+
- Additionally, the image in the **header** should be centered and fully visible.
217
217
218
218
<br>
219
219
@@ -473,7 +473,7 @@ To make the header responsive and change it to a two column layout on screens th
473
473
}
474
474
```
475
475
476
-
On smaller screens, the header will maintain a singlecolumn layout, but on screens larger than 800 pixels wide, it will change to a twocolumn layout.
476
+
The header will maintain a single-column layout on smaller screens, but on screens larger than 800 pixels wide, it will change to a two-column layout.
477
477
478
478
[Back to top](#faqs)
479
479
</details>
@@ -482,15 +482,15 @@ On smaller screens, the header will maintain a single column layout, but on scre
482
482
<summary>Why are my media query styles not displaying properly on my browser?</summary>
483
483
<br>
484
484
485
-
When using media queries to create a responsive layout, it is recommended to start with the default styles for mobile (smaller) screens, and then use media queries at the end of your stylesheet to apply styles for each increasing viewport size.
485
+
When using media queries to create a responsive layout, it is recommended to start with the default styles for mobile (smaller) screens and then use media queries at the end of your stylesheet to apply styles for each increasing viewport size.
486
486
487
487
488
488
489
489
There are a few possible reasons why your media query styles may not be properly displayed on your browser.
490
490
491
-
1.Check that you already have default styles for mobile screens, where applicable. These styles should be placed at the beginning of your stylesheet, before your media queries.
492
-
2.Make sure you have placed your media queries at the end of your stylesheet after your regular styles. This is because media queries are applied after regular styles, so if you place them before your regular styles, they will be overridden.
493
-
3.Make sure that you have the correct syntax in your media query. The correct syntax is `@media (expression) {...}`.
491
+
1.Where applicable, check that you already have default styles for mobile screens. These styles should be placed at the beginning of your stylesheet before your media queries.
492
+
2.Ensure you have placed your media queries at the end of your stylesheet after your regular styles. This is because media queries are applied after regular styles, so if you place them before your regular styles, they will be overridden.
493
+
3.Ensure you have the correct syntax in your media query. The correct syntax is `@media (expression) {...}`.
494
494
4. Make sure that you are using the correct media query expression. For example, if you are trying to target screens that are wider than 800 pixels, you should use the `min-width` in your expression, like this: `@media (min-width: 800px) {...}.`
495
495
496
496
For more information on CSS media queries, check: [MDN: Beginner's guide to media queries](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Media_queries)
@@ -516,9 +516,9 @@ To check which remote repository you have cloned, run the following terminal com
516
516
```bash
517
517
git remote -v
518
518
```
519
-
If the link shown is the same as the main Ironhack repository, you will need to fork the repository to your GitHub account first, and then clone your fork to your local machine to be able to push the changes.
519
+
If the link shown is the same as the main Ironhack repository, you will need to fork the repository to your GitHub account first and then clone your fork to your local machine to be able to push the changes.
520
520
521
-
Note: You may want to make a copy of the code you have locally, to avoid losing it in the process.
521
+
Note: You should make a copy of your local code to avoid losing it in the process.
0 commit comments