Giter Club home page Giter Club logo

build_your_first_website's Introduction

Building Your First Website

Now we will use the skills you've learned to build pages of an online book review website.

Learning Goals:

  • Demonstrate an understanding of HTML Syntax
  • Demonstrate an understanding of appropriate tag selection for specific content.
  • Demonstrate an ability to link local pages and remote pages.
  • Demonstrate the creation of a external stylesheet.
  • Organize a site with semantic HTML.

Wave 1 - Creating Semantic HTML

The Online Book Review Site

Site Layout

In this exercise you will create the HTML to go along with content for 3 pages of HTML. You will structure the content given in the content folder with semantic html tags providing meaning to the content.

Each page will have a:

  • The standard Doctype, Head, and Body of an HTML page.
  • A Header/Title Section
  • Navigation Section with links for the site
  • A footer with a copyright notice and your name

The pages of your site will be the pieces of an online book review site. Under no circumstances should you use inline html styles.

Site Homepage

For the homepage of your site, named index.html you will create a page with:

  • A Header section with the title for your book review site.
  • A section for navigation.
  • A main content section with an html unordered list of the top-5 book images (see the images folder) which should link to their pages in Amazon.com or book review pages.

Book Review Pages

You will then create a book review page template, using Eloquent Ruby by Russ Olsen and develop a structure for the site. The content for the page is provided in the content folder by the textfile index_content.txt. The book review page will have the same overall structure as index.html except the main content section will structure the information inside of the text file. The page should also include the image of book EloquentRuby.jpg

Site Contact Page

You will also include a contact page for visitors to provide feedback to the maintainers.

The page will include:

  • A Picture of the site maintainer, you can use a picture of yourself or use the goofy picture provided.
  • A statement welcoming feedback on the site via e-mail, twitter or facebook.
  • A list of methods to contact the site maintainer via email, Twitter and Facebook.

When you finish review the site with another student at your table explaining your choices in terms of tags and sectioning of the pages. Make adjustments where it seems appropriate.

Wave 2 - Adding CSS

In This wave you will add CSS styling to change the appearance of the site. You will be adding an external stylesheet named style.css.

In the style sheet you will be discovering how to:

  • Place the Header/Title section across the top of the site with a border and appropriate background color.
  • Provide an appropriate background color for the main content section
  • Select appropriate fonts & colors for text on the site.
  • Make the navigation links display different colors when the mouse rolls over the link.
  • Use CSS styling to hide the bullet-points of the unordered lists in the site.
  • Place the Footer section across the entire bottom of the site with a border and an appropriate background color

Page Specific Styling:

  • index.html
    • use CSS styling to hide the bullet-points of the unordered list containing the book images.
    • use CSS styling to make all the images the same height
  • eloquentRuby.html
    • The Eloquent Ruby book image should be left-aligned with the details about the book to the right of it.
  • contact.html
    • The site maintainer photo should be left-aligned and the message about contacting the site maintainer to the right of it.

When you are finished review your changes with your tablemate.

Extensions

  • Create another page for a book you have found useful and link it into the navigation of the site.
  • Attempt to create a more complex layout with content side-by-side as you feel appropriate.

build_your_first_website's People

Contributors

cheezitman avatar kariabancroft avatar

Watchers

James Cloos 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.