Code Monkey home page Code Monkey logo

responsive-web-design's Introduction

Responsive-Web-Design

We will be using the same codebase for Responsive Web Design I and II. They are as follows:

Challenge Responsive Web Design I:

For this challenge, no new syntax has been introduced but many new concepts are needed to accomplish the task.

Concepts required to complete the task:

  • How to use media queries
  • Min and max width
  • Layout changes based on device width
  • Adaptive vs fluid layouts

Build an adaptive website that has breakpoints at 400px, 768px, and 1100px. This project is very open ended and meant to challenge what you learned today. The correct solution will have breakpoints at the directed values but how it looks is up to you.

Remember that an adaptive layout updates at breakpoints only. Don't worry about fluid layouts for this challenge.

Tasks to complete:

  • Introduce max-width media queries into your project at 400px, 768px, and 1100px

  • Review each breakpoint and adjust the layout so that you don't experience horizontal scroll bars at the media query.

  • Stretch Goal: Once you have completed the project with max-width media queries, start over with min-width media queries to get a feel for how a mobile first approach would be like.

Challenge Responsive Web Design II:

Now that you have introduced media queries into your project, it's time to upgrade your adaptive site to a full on fluid layout.

To accomplish this challenge you will need to incorporate your knowedges of max and min width, media queries, rem units, and percents.

Tasks to complete:

  • Convert all fixed widths into percents.

  • Convert all left and right margins and paddings into percents.

  • Convert all font-size pixels into rem units.

  • Stretch Goal: See how close you can get to the media query and still have your site look decent. Hint: you may need to introduce a few more media queries!

responsive-web-design's People

Contributors

bigknell avatar nkhlmn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.