Skip to content

Commit 4782066

Browse files
committed
review, minor spelling fixes
1 parent 0b32870 commit 4782066

File tree

1 file changed

+12
-73
lines changed

1 file changed

+12
-73
lines changed

README.md

Lines changed: 12 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,13 @@
99
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).
1010

1111

12-
1312
The goal of the lab is to create a *responsive* landing page using **CSS** and **Flexbox**.
1413

15-
16-
17-
1814
## Requirements
1915

2016
- Fork this repo
21-
2217
- Clone this repo
2318

24-
25-
2619
## Submission
2720

2821
- Upon completion, run the following commands:
@@ -41,12 +34,8 @@ The goal of the lab is to create a *responsive* landing page using **CSS** and *
4134

4235
The `starter_code` folder contains all the files you'll need. The `images` folder contains all the images you'll need for your page, although most of them are already displayed on the page.
4336

44-
45-
4637
**The `index.html` already contains all the text and content needed. We will be focusing on the CSS and styling!**
4738

48-
49-
5039
During each iteration, the first step you should do is to inspect the provided screenshots. These are included in each iteration, along with a preview of the final result. Use these as a starting point for implementing your styles.
5140

5241
<br />
@@ -59,7 +48,7 @@ The first step during every iteration will be to inspect the design files. These
5948
6049
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.
6150
62-
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:
51+
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:
6352
6453
- [What is Figma?](https://www.youtube.com/watch?v=_d8GG2QZYAM)
6554
- [Figma for Frontend developers [ in 5 minutes ]](https://www.youtube.com/watch?v=hbN9RGcQFNU)
@@ -80,8 +69,6 @@ We will start by focusing on the styles for mobile screens first! :iphone: Oh! R
8069

8170
When done, your page should look like this: [Preview - Mobile](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=68%3A2762&scaling=scale-down&page-id=68%3A2761&starting-point-node-id=68%3A2762&show-proto-sidebar=1&hide-ui=1)
8271

83-
84-
8572
<br>
8673

8774
Use the following page screenshot as the guide:
@@ -96,9 +83,6 @@ Use the following page screenshot as the guide:
9683
</details>
9784

9885

99-
100-
101-
10286
<!--
10387
10488
You can inspect the page styles here:
@@ -121,23 +105,16 @@ You can inspect the page styles here:
121105
### Iteration 2 | Small Screens (width > 768px and width < 1024px)
122106

123107
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:
124-
125-
126-
127108
- The **header** should go from 1 column to display 2 columns: one with the content and buttons, and the other with the image.
128109
- The **company logos** should be displayed in a single row.
129110
- 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.
130111
- The **section "Teams large and small rely on Slack"** should have the list items and the buttons displayed horizontally as rows.
131112
- The **sub-footer** items, previously displayed as a column, should now be displayed in a single row.
132113

133-
134-
135114
<br>
136115

137116
When done, your page should look like this: [Preview - Small Screens](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=49%3A1508&scaling=scale-down&page-id=68%3A2976&starting-point-node-id=49%3A1508&hide-ui=1)
138117

139-
140-
141118
<br>
142119

143120
Use the following page screenshot as the guide:
@@ -162,35 +139,22 @@ You can inspect the page styles here:
162139
-->
163140

164141

165-
166-
167-
168142
<br>
169143

170-
171-
172144
----
173145

174146

175-
176147
### Iteration 3 | Medium Screens (width > 1024px and width < 1440px)
177148

178-
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 for this viewport size are:
179-
180-
181-
149+
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:
182150
- The **navbar** should now display all the menu links. The previously displayed menu icon should now be hidden.
183151
- 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.
184152
- The **section "Welcome to your new digital HQ"** should now have the buttons displayed horizontally as rows.
185153

186-
187-
188154
<br>
189155

190156
When done, your page should look like this: [Preview - Medium Screens](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=49%3A2159&scaling=scale-down&page-id=68%3A2977&starting-point-node-id=49%3A2159&hide-ui=1)
191157

192-
193-
194158
<br>
195159

196160
Use the following page screenshot as the guide:
@@ -200,8 +164,6 @@ Use the following page screenshot as the guide:
200164
<img src="https://education-team-2020.s3.eu-west-1.amazonaws.com/web-dev/m1/lab-flexbox-slack/Slack+Home+Page+-+1024px.png" />
201165
<br/>
202166

203-
204-
205167
[Back to top](#iteration-3--medium-screens-width--1024px-and-width--1440px)
206168
</details>
207169

@@ -229,21 +191,13 @@ You can inspect the page styles here:
229191
### BONUS: Iteration 4 | Large Screens (width > 1440px)
230192

231193
Last one! Some small changes and we are done! In this iteration we are targeting large-screen devices such as desktops and laptops:
232-
233-
234-
235194
- The **signup buttons** in the **header** should now be displayed horizontally, next to each other.
236-
237195
- Additionally, the image shown in the **header** should be centered and fully visible.
238196

239-
240-
241197
<br>
242198

243199
When done, your page should look like this: [Preview - Large Screens](https://www.figma.com/proto/k77VYVA70WcPYRLvg4QmIf/LAB-CSS-Slack-Clone?node-id=49%3A2489&scaling=scale-down&page-id=68%3A2978&starting-point-node-id=49%3A2489&hide-ui=1)
244200

245-
246-
247201
<br>
248202

249203
Use the following page screenshot as the guide:
@@ -253,9 +207,6 @@ Use the following page screenshot as the guide:
253207
<img src="https://education-team-2020.s3.eu-west-1.amazonaws.com/web-dev/m1/lab-flexbox-slack/Slack+Home+Page+-+1440px.png" />
254208
<br/>
255209

256-
257-
258-
259210
[Back to top](#iteration-4--large-screens-width--1440px)
260211

261212
</details>
@@ -268,19 +219,17 @@ You can inspect the page styles here: [Figma file - Large Screens]()
268219
269220
-->
270221

271-
272-
273222
<br />
274223

275224

276225

277-
Happy coding! ❤️
278-
226+
Happy coding! :heart:
279227

228+
<br>
280229

281230
## FAQs
282231

283-
232+
<br>
284233

285234
<details>
286235
<summary>I am stuck in the exercise and don't know how to solve the problem or where to start.</summary>
@@ -289,10 +238,10 @@ Happy coding! ❤️
289238
If you are stuck in your code and don't know how to solve the problem or where to start, you should take a step back and try to form a clear question about the specific issue you are facing. This will help you narrow down the problem and come up with potential solutions.
290239

291240

292-
For example, is it a concept that you don't understand, or are you receiving an error message that you don't know how to fix? It is usually helpful to try to state the problem as clearly as possible, including any error messages you are receiving. This can help you communicate the issue to others and potentially get help from classmates or online resources.
241+
For example, is it a concept that you don't understand, or are you receiving an error message that you don't know how to fix? It is usually helpful to try to state the problem as clearly as possible, including any error messages you are receiving. This can help you communicate the issue to others and potentially get help from classmates or online resources.
293242

294243

295-
Once you have a clear understanding of the problem, you will be able to start working towards the solution.
244+
Once you have a clear understanding of the problem, you will be able to start working toward the solution.
296245

297246
[Back to top](#faqs)
298247
</details>
@@ -369,18 +318,16 @@ div {
369318
}
370319
```
371320

372-
This will set the `widh` property of the `div` to 500 pixels and we set the left and right margin to be equal by using `margin: 0 auto;`.
321+
This will set the `width` property of the `div` to 500 pixels and we set the left and right margins to be equal by using `margin: 0 auto;`.
373322

374323
[Back to top](#faqs)
375324
</details>
376325

377-
378-
379326
<details>
380327
<summary>How do I center align an HTML image element?</summary>
381328
<br>
382329

383-
There are a few ways you can center aling an image element.
330+
There are a few ways you can center align an image element.
384331

385332
##### 1. Align an image using `text-align`
386333

@@ -452,8 +399,6 @@ header {
452399
}
453400
```
454401

455-
456-
457402
To make the header responsive and change it to a two column layout on screens that are wider than 800 pixels, use a media query and set the `flex-direction` property to `row`:
458403

459404
```css
@@ -469,15 +414,11 @@ To make the header responsive and change it to a two column layout on screens th
469414
}
470415
```
471416

472-
473-
474417
On smaller screens, the header will maintain a single column layout, but on screens larger than 800 pixels wide, it will change to a two column layout.
475418

476419
[Back to top](#faqs)
477420
</details>
478421

479-
480-
481422
<details>
482423
<summary>Why are my media query styles not displaying properly on my browser?</summary>
483424
<br>
@@ -486,16 +427,14 @@ On smaller screens, the header will maintain a single column layout, but on scre
486427

487428

488429

489-
There are a few possible reasons why your media query styles may not be displaying properly on your browser
430+
There are a few possible reasons why your media query styles may not be properly displayed on your browser.
490431

491432
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 that 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.
433+
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.
493434
3. Make sure that you have the correct syntax in your media query. The correct syntax is `@media (expression) {...}`.
494435
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) {...}.`
495436

496-
497-
498-
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)
437+
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)
499438

500439
[Back to top](#faqs)
501440
</details>

0 commit comments

Comments
 (0)