Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bethtelford/HTML-CSS-Practice-Problems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Summary

In this project, you will be given three levels of practice using HTML and CSS. Each level will contain three or less steps. Each step will build on the last step and will contain an image file. You can use that image file as reference. The goal is to try to get as close as possible to the image's layout, using HTML and CSS that you write yourself.

If you get stuck on a level you can view the solution folder provided in each level. Try to only use this folder as a last resort.

Don't worry about being pixel perfect, and don't worry if your code doesn't match the solution exactly. As long as it looks the same as the provided image, you're doing it right.

Level 1

Step 1

  • Open level-1/index.html && level-1/step-1/step-1-level-1.css && level-1/step-1/step-1-level-1.png.
  • Select the element with the class of content-left.
    • Position this element to the left side of the screen.
  • Select the element with the class of content-mid.
    • Position this element to appear just to the right of content-left and take up the remaining space.
  • Select the element with the class of footer.
    • Position this element to appear at the bottom of the page.

Step 2

  • Open level-1/index.html && level-1/step-2/step-2-level-1.css && level-1/step-2/step-2-level-1.jpg.
  • Select the element with the class of content-left.
    • Add padding of 20 pixels on the top, left, right, and bottom.
  • Select the element with the class of header.
    • Add padding of 20 pixels on the top, left, right, and bottom.
  • Select the element with the class of profile-image-container.
    • Assign a width, height, and margin-bottom.
  • Select the element with the class of profile-links-container.
    • Assign a width and height.
  • Select the element with the class of logo-container.
    • Assign a width, height, and float.
  • Select the element with the class of menu-container.
    • Assign a width, height, and float.

Step 3

  • Open level-1/index.html && level-1/step-3/step-3-level-1.css && level-1/step-3/step-3-level-1.jpg.
  • Select the element with the class of content-mid.
    • Add padding of 80 pixels on the top, left, right, and bottom.
  • Select the element with the class of content-mid-header.
    • Assign a width and height.
  • Select the element with the class of content-container.
    • Assign a width and height.
  • Select the element with the class of content.
    • Add padding of 20 pixels on the top, left, right, and bottom.
    • Assign a width, height, and text-align.
  • Locate the element with the class of content in the html.
    • Add some random text inside the div.

Level 2

Step 1

  • Open level-2/index.html && level-2/step-1/step-1-level-2.css && level-2/step-1/step-1-level-2.jpg.
  • Select the elements with the class of menu, logo and sign-in.
    • Assign a display that will allow these elements to appear on the same line.
  • Select the element with the class of menu.
    • Assign a position, left, and top.
  • Select the element with the class of sign-in.
    • Assign a position, right, and top.
  • Select the element with the class of bottom-container
    • Assign a position and bottom.

Step 2

  • Open level-2/index.html && level-2/step-2/step-2-level-2.css && level-2/step-2/step-2-level-2.jpg.
  • Select the element with the class of main-bottom-section.
    • Add a text-align.
  • Select the element with the class of item.
    • Add a width, height, and display.
  • Select the element with the class of full-width-item.
    • Add a width, height, and margin.
  • Select the element with the class of large-item.
    • Add a width, height, and margin.

Level 3

Step 1

  • Open level-3/index.html && level-3/step-1/step-1-level-3.css && level-3/step-1/step-1-level-3.jpg.
  • Select the element with the class of main-top-section.
    • Add a background color of #F2EFE5.
  • Locate the element with the class of menu-icon in the html.
    • Link the src path to img/icons/MENU.png.
  • Locate the element with the class of logo-icon in the html.
    • Link the src path to img/icons/dev-shop.png.
  • Locate the element with the class of sign-in in the html.
    • Link the src path to img/icons/Sign_In.png.
  • Locate the element with the class of shop-icon in the html.
    • Link the src path to img/icons/Shop_Deals.png.

Step 2

  • Open level-3/index.html && level-3/step-2/step-2-level-3.jpg.
  • Locate the element with the class of item-image and alt of tops in the html.
    • Link the src path to img/Tops.png.
  • Locate the element with the class of item-image and alt of bottoms in the html.
    • Link the src path to img/bottoms.png.
  • Locate the element with the class of item-image and alt of accessories in the html.
    • Link the src path to img/accessories.png.
  • Locate the element with the class of item-image and alt of collection in the html.
    • Link the src path to img/collection.png.
  • Locate the element with the class of item-image and alt of kicks in the html.
    • Link the src path to img/kicks.png.
  • Locate the element with the class of item-image and alt of hats in the html.
    • Link the src path to img/hats.png

Contributions

If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.

Copyright

© DevMountain LLC, 2017. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 58.2%
  • HTML 41.8%