Coder Social home page Coder Social logo

hellokitty14 / final-exam-html-css-practice-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ladykittenz/final-exam-html-css-practice-2

0.0 0.0 0.0 5 KB

The second practice exercise in preparation for the final exam.

HTML 73.89% CSS 26.11%

final-exam-html-css-practice-2's Introduction

Final Exam HTML/CSS Practice 2

This tutorial provides links to certain helpful documents, and on the final exam you will be free to refer to outside sources such as the Mozilla Developer Network, Khan Academy, and your own previous work if you want. I will not answer specific questions about the content, but I will tell you if you've made a mistake when you finish each section if you raise your hand and ask me to check.

Setup (10 points)

  1. Go to https://github.com/chapelfield/final-exam-html-css-practice-2 and fork the repository.
  2. Open your fork of the repository in a new tab.

Content (60 points)

Unless told otherwise, all instructions for this section apply to index.html.

  1. Open and edit index.html.
  2. Change the page title and the first page heading to "Final Exam HTML/CSS Practice 2".
  3. Underneath the first heading there should be three paragraphs. However, right now only one is formatted correctly. Add paragraph tags where necessary to make the three paragraphs appear correctly. Remember that each paragraph should be on its own line with no empty lines between.
  4. There is a second heading on line 14. We want it to be smaller. Change it to <h2>. Don't forget to change both the opening and closing tags.
  5. Go to http://lipsum.com/ and scroll down until you see the heading "Where can I get some?" Change the number of paragraphs to 4 instead of 5 and click "Generate Lorem Ipsum".

  1. Copy and paste the resulting paragraphs of Latin text into your HTML, underneath "Do You Even Latin?". Make sure to surround each paragraph element with the correct tags. Remember that each paragraph should be on its own line with no empty lines between.
  2. Add an image element after the last paragraph and add the link to this GIF in the appropriate place inside the <img> tag.
  3. Commit your changes.

Style (60 points)

Unless told otherwise, all instructions for this section apply to style.css.

  1. Open and edit style.css.
  2. Change the background color to gainsboro.
  3. Change the font family to serif.
  4. Change the font size and line height to 1.5em.
  5. Create a new block (or ruleset for the img selector below the body selector. Remember to include all the curly braces and punctuation needed.
  6. Inside the img ruleset, set the maximum width to 80% and the margins to auto.
  7. Inside the img ruleset, create the display property and set its value as block.
  8. Commit your changes. Your finished website should look like this one.

Turn In (10 points)

  1. Send me an email with the subject line "Final Exam HTML/CSS Practice 2" and paste the links to your final-exam-html-css-practice-2 repository and the live view of the website.

final-exam-html-css-practice-2's People

Contributors

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