Coder Social home page Coder Social logo

lab-css-media-queries's Introduction

Media Queries Lab

TekNews has a great looking website but it was only built for the desktop! Update the website so it can look good on any device.

Wide default view


Lab Setup

Getting started

  1. Fork and clone this repository.

  2. Navigate to the settings tab on GitHub, then choose Pages from the menu. Configure the Build and Deployment to have a Source of Deploy from a branch and select the main branch for deployment. Deployments can take a few minutes, so get started on the lab, and then be sure to check the deployment after you have made a few commits.

  3. Open up the repository in VSCode. Follow the instructions below to complete the Lab.

Instructions

To complete the tests in this lab, you will need to overwrite some styles depending on the width of the screen. If you're unclear about any of the instructions below, remember that you can check the test file to see what exactly is being tested.

768px to 1279px

  • Hide the .splash section by changing the display property to none.
  • Set the width of the main element to be 90%.
  • Update the footer element so that instead of three columns it is set to have two.

Medium view

Less than 768px

  • Update the header element so that instead of two columns it is set to have one.
  • Update the main element so that instead of two columns it is set to have one.
  • Change the gap on the main element so that it has a gap between each row of 50px. The gap between columns should be 0.
  • Update the footer element so it has a padding of 25px all around.
  • Update the footer element so that all of the text inside of it is aligned to the center.
  • Update the footer unordered list elements so that none of them have a list-style.
  • Update the footer heading so that it no longer has a border along the bottom.

Narrow view

lab-css-media-queries's People

Contributors

krafalski avatar nugget-meister 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.