Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

static-web-html-css-quiz-MAOstrander created by GitHub Classroom

Notifications You must be signed in to change notification settings

nss-day-cohort-15/static-web-html-css-quiz-MAOstrander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

The Static Web HTML + CSS Quiz

Setup

Run the following command in your terminal:

mkdir -p ~/workspace/quizzes/static-web/html && cd $_

This will create a project folder and cd you into it. When you are ready to start the quiz, request the Github Classroom link from your instructor

  • Once your repository is created on GitHub, copy the list of commands under "..or create a new repository on the command line" by clicking on the clipboard icon
  • Paste the commands into your terminal. This will create a README.md file, add it, commit it, connect your local reop to GitHub, and set you up to push up the changes. (If the last command, git push origin master isn't automatically executed, hit enter/return to run it).

All of your quiz work should be on a branch, NOT on master. To do this, type:

git checkout -b quiz
touch index.html
touch quiz.css

You are now ready to work in the quiz branch.

When your work in complete, push up the branch (git push origin quiz) and submit the pull request on Github.

Instructions

Your task is to build a grid of cards for a company's products. Here's the requirements for the basic structure of the cards.

  1. Each card should be an article.
  2. Each card should take up 30% of the width of the browser window.
  3. Each product should contain a header element that, itself, contains an h1 element where the product's title will be written.
  4. Each product should have three sections.
  5. The first section should contain three child block elements.
    1. The first element contains the product image.
    2. The second element contains the product description.
    3. The third element contains the product availability (e.g. "Available" or "Not Available")
  6. The second section contains product specifications.
    1. This section should have a header containing the word "Specifications"
    2. This section should contain two block elements
    3. The first block element specifies the size.
    4. The second block element specifies the weight.
    5. This section should contain a footer.
    6. The footer contains text stating when the product specifications become invalid.
  7. The third section contains the product pricing.
    1. This section should contain a header.
    2. This section should contain three block elements.
    3. Each block element contains information about the price for different quantities.

Additional style requirements

  1. The entire card has a solid 1px border that is lightblue.
  2. The card title has a dotted 1px border that is lightgray.
  3. The title and product image are centered.
  4. Notice that the text for the description in the image is justified.
  5. The text for the product specification details and pricing details is bold.
  6. The availability element extends the full width of the card, with a dark grey background and yellow text.

Visual example

Here's an image that shows how the cards should appear.

Static Web Quiz Example

About

static-web-html-css-quiz-MAOstrander created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published