GithubHelp home page GithubHelp logo

prime-pw-week-5-assignment-part-2's Introduction

Tier 1 Week 5 - Part 2

This week, we'll be exploring objects by creating an application to help maintain a record collection. We will be creating objects using object literal syntax.

Topics Covered

  • objects
  • HTML & CSS

Assignment - Practice with HTML & CSS

Time to make our index.html page look cool!

Add all CSS through a Stylesheet. Do not use inline styles.

Update the HTML:

  • Place the existing h1 inside a header element.
  • Add an h2 element into the header that says YOUR NAME's Record Shop.
  • Place the existing p inside a main element.

Add a Stylesheet:

  • Create a stylesheet.css file and source it into the HTML file.
  • Give the header a dark background color and choose a light color for the text.
  • Center the text in the header.
  • Give the main a light grey background color.
  • Look up the CSS background-image property to learn how to use the provided record.png as the background image on your page with a relative path.
  • Look up CSS background-repeat to learn how to fill the body of the page with a repeating image.
  • Look up CSS margin and padding.
    • Give the body a margin of 0. (This removes the whitespace around the edges of the page.)
    • Give the main padding of 1em. (Curious about em? Look up CSS units.)

Here's an example of what the style could look like:

STRETCH GOAL: Use CSS style classes vs element names to do your styling, except for adding the margin to the body. That is a good thing to add to every CSS file, and it should use the body HTML tag name.

Assignment Submission

Check in your repo, then turn in your work via the Prime Academy Assignment Application at http://primeacademy.io, as usual and don't hesitate to hit up the Slack channel as needed!

prime-pw-week-5-assignment-part-2's People

Contributors

avlynch5 avatar mbmosman avatar

Stargazers

Roman 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.