|
| 1 | + |
| 2 | + |
| 3 | +# CSS | Slack Clone with Flexbox |
| 4 | + |
| 5 | +## Introduction |
| 6 | + |
| 7 | +You should be reaaaaally familiar with [Slack](https://www.slack.com/) at this point, but just to make it more clear, **Slack** is a cloud-based set of team collaboration tools and services or in simpler terms, it is a chatting program. |
| 8 | + |
| 9 | +We use the app almost every day to keep our communications with our classmates and the **Ironhack** team, so we know perfectly the chat interface but today we are going to clone their landing page. [Here](https://www.slack.com/) you can visit the website and check what are we going to do. :stuck_out_tongue_winking_eye: |
| 10 | + |
| 11 | +We want to practice our new **Flexbox** skill, so we are going to implement the *"responsiveness"* of the landing page. No worries, we will show you what we need! |
| 12 | + |
| 13 | + |
| 14 | +## Requirements |
| 15 | + |
| 16 | +- [Fork this repo](https://guides.github.com/activities/forking/) |
| 17 | +- Clone this repo into your `~/code/labs` |
| 18 | +- Include both the client and server applications in your submission. |
| 19 | + |
| 20 | +## Submission |
| 21 | + |
| 22 | +- Upon completion, run the following commands |
| 23 | + |
| 24 | +``` |
| 25 | +git add . |
| 26 | +git commit -m "done" |
| 27 | +git push origin master |
| 28 | +``` |
| 29 | + |
| 30 | +- Navigate to your repo and [create a Pull Request](https://help.github.com/articles/creating-a-pull-request/) |
| 31 | + |
| 32 | +## Exercise |
| 33 | + |
| 34 | +The **starter_code** contains the basic structure of an HTML & CSS project to start working. You will also find and **images** folder where all the images you will need for the project are stored. |
| 35 | + |
| 36 | +:::info |
| 37 | +In the HTML you find all the text needed! Focus on give it some style! |
| 38 | +::: |
| 39 | + |
| 40 | +### Iteration 1 | Large Screen (width > 1200px) |
| 41 | + |
| 42 | +First, we need to clone the design we see on our laptops! :laptop: 💻 Oh! Remember to use **flexbox**, because it will be really helpful later on when we need to adapt it! |
| 43 | + |
| 44 | +You should have something like this: |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +### Iteration 2 | Medium Screen (1024px > width > 960px) |
| 53 | + |
| 54 | +This one is really simple, we just need small changes. |
| 55 | + |
| 56 | +1. The menu on our top nav-bar is replaced by a toggle button. We just need to make the `list` disappears and show the toggle menu button. Not necessary to make the button work, remember we are practicing our design skills here :wink: |
| 57 | + |
| 58 | +2. Change the main header layout. Instead of having them one beside the other, now we need the text on top and the image below it. |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +### Iteration 3 | Small Screen (961px > width > 767px) |
| 64 | + |
| 65 | +On small screens, we just need one change. The companies logo, instead of 3 per row, we should display them in pairs, that means we will have 3 rows of 2 logos each. |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | +### Iteration 4 | Extra Small Screen (width < 768px) |
| 70 | + |
| 71 | +Last one! On extra small screens we will have a lot of changes! If you notice, this is the width apply to smartphones, so our web will have some changes! Take a look of the following screenshoots and adapt your code to clone it! :muscle: :iphone: |
| 72 | + |
| 73 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_0ee511e294b5b917e709d55850cc3f07.png" alt="" style="width:46%"/> |
| 74 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_c812bd17dd765972a3a5452bbf6b4e7d.png" alt="" style="width:46%"/><br><br><br> |
| 75 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_bba75f0660ec59c8af87d5bf1f792dd7.png" alt="" style="width:46%"/> |
| 76 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_65907972107d5fe7d2d410944fff8e03.png" alt="" style="width:46%"/><br><br><br> |
| 77 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_5f46e018d968f92e2a4a7e1a46c9ead3.png" alt="" style="width:46%"/> |
| 78 | +<img src="https://s3-eu-west-1.amazonaws.com/ih-materials/uploads/upload_ce37bd622ab94fd83a4a1ea3059568ae.png" alt="" style="width:46%"/> |
0 commit comments