Skip to content

Get hands-on practice using media queries with float, grid, and flexbox containers to build responsive layouts for different devices

License

Notifications You must be signed in to change notification settings

RjayBrown/html-css-responsive-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-name

Containers
+
Responsive Design

Get hands-on practice using media queries with float, grid, and flexbox containers to build responsive layouts for different devices

Screenshots

project-screenshot project-screenshot

project-screenshot project-screenshot

project-screenshot project-screenshot project-screenshot

Built With

HTML CSS

Getting Started

You can download the project or fork and run the project locally to get hands-on practice with the core concepts below. Start with reviewing the code and comments for each file in the practice folder.

Core Concepts

  • CSS - Selector Lists & Compound Selectors
  • Containers - Floats, Grid & Flexbox
  • Media Queries - Mobile First Development
  • Inspect Tools - Viewing Layouts in the Browser

Hands-On Practice

1. Try styling the elements to match the screenshots shown above.

2. Import a different font style from Google Fonts

3. Try to double the number of cards in each container. You can use as many rows as you'd like for tablets, but make sure each container only has one row when viewed on a larger screen, and one column when viewed on a mobile device. Floats can be tricky to work with, so you can follow the resources here or use the hint in the comments to practice searching and applying a different solution!

Build a Mini-Project

Once you complete the challenges you'll be able to use your new float, grid, and flexbox skills to build a fully responsive layout from scratch! Find a website you like and use the box model and your browser inspect tools to build a layout representing the home page (add text content too if you'd like!). The starter files are in the project folder.

If you run into trouble, you can reach out in the [🕒 catchup-crew] or [❓code-help] channels in the #100Devs Discord. It's an amazing community space filled with supportive developers happy to answer any questions you may have!

Fork & Run Locally

1. To get started, open this link in a new tab to fork or make a personal copy of this repository

  • NOTE: You may find it easier to keep the same name, but you can change it if you like!

2. Click the code button to open the dropdown and copy the URL (make sure HTTPS is selected).

3. Open the terminal in your editor, type 'git clone' and paste the URL (the command should follow one of the formats below).

 git clone https://github.com/YOUR-GITHUB-USERNAME/html-css-responsive-design
 git clone https://github.com/YOUR-GITHUB-USERNAME/YOUR-REPOSITORY-NAME

4. Run the command (Press Enter)

5. Navigate to the project folder

cd html-css-responsive-design
cd YOUR-REPOSITORY-NAME

Done! You are now able to run the project locally.

Acknowledgments

A big thanks to #100Devs for the community support, and Leon Noel for the project inspiration.

If you found some value here and would like to support, feel free to give the project a ⭐️!

Additional Resources & Mini-Projects

License

This project is distributed under the MIT License. Click here for more information.

[back to top]

About

Get hands-on practice using media queries with float, grid, and flexbox containers to build responsive layouts for different devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published