GithubHelp home page GithubHelp logo

assignment-unit-4.2's Introduction

Unit 4, Part 2 - HTML/CSS Practice

This unit we'll be pulling together all of the Javascript techniques you've learned thus far as well as practicing with HTML & CSS.

Topics Covered

  • variables
  • arrays
  • conditionals
  • functions
  • HTML & CSS

Assignment - Styling with CSS

Now let's practice some CSS! For this, you will update the index.html file and create a new CSS Stylesheet.

Requirements:

  • Place the existing <h1> and <p> inside of a header element and add a background-color to that header.
  • Create a stylesheet.css file and import it into the index.html file.
  • Add a new div with a class name of "info".
    • Inside that div add an <h2> My name is YOUR NAME </h2>
    • Add a background-color and a text color of your choice to the h2.
    • Add an image tag <img> and source an image of your main mode of transportation (you car, bus, scooter, bike, feet, etc)
    • Add an <h3> that explains your mode of transportation. Add a background-color and a text color of your choice.

The style should look something like this (image shown has a little more CSS - feel free to try some new things!)

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!

REMINDER: Make sure to answer the Slack discussion question for this week!

assignment-unit-4.2's People

Contributors

christopher-black avatar kdszafranski avatar doctorhowser avatar artrocity avatar mbmosman 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.