Assignment 7: Bootstrap - Due: Monday, August 7th

In this assignment, you will create a new website using the front end Web framework, Bootstrap.

It should cover a subject of academic interest to you. Here is the "Computer History" Example. You can also download the entire site.

Getting Started

To get started, you will install Bootstrap and make a copy of the Bootstrap starter template.

Install Bootstrap.

  1. Make a project folder called “bootstrap,” where you will put all your files for this assignment.
  2. Follow instructions for installing Bootstrap. This is simply a matter of downloading a copy of the Bootstrap files and placing them into your project folder. Your bootstrap folder should end up with three sub-folders: css, fonts, and js.

Create an HTML page.

  1. Copy and paste the HTML source code for the Bootstrap starter template, and save it into your own HTML file named “index.html” in your project folder
  2. Edit this HTML code and modify the link to the “Bootstrap core CSS” file so that it correctly points to the CSS file where you have saved it when you installed bootstrap, which is css/bootstrap.min.css
  3. Edit this HTML code and modify the link to the “Custom styles for this template” so that it points to a new file you will make, which is css/custom.css

Create a custom CSS file.

  1. Copy and paste the CSS source code used by the Bootstrap starter template; save it into a new CSS file named “custom.css” within your css folder.
  2. You will add all your custom CSS for this assignment to this file.

Open the HTML page you made in your web browser. Make sure it looks just like the starter template example before proceeding.

Leveraging Bootstrap’s Features

Familiarize yourself with the various aspects of working with Bootstrap, including the following.

Customizing the Default Theme

You can quickly and easily change the default style of components and interactive widgets by following the customization workflow outlined on the Bootstrap site.

  • For each element you want to customize, find its code in the compiled Bootstrap CSS
  • Copy the component's selector and styles and paste them in your custom stylesheet. For instance, to customize the navbar background, just copy the .navbar style specification.
  • In your custom stylesheet, edit the CSS you just copied from the Bootstrap source.
  • Continue this process until you’re happy with your customizations.

Requirements

Here is a list of required elements to include.

  • Create at least 3 pages of content with a consistent style
  • Create the general page layout on each page using Bootstrap’s grid layout features
  • Use a single Bootstrap navigation component on all pages to allow visitors to browse among the 3 pages
  • Create at least 2 layouts using Bootstrap’s responsive design features: one for mobile devices and one for desktop computers
  • Use Bootstrap’s carousel widget, including at least three images
  • Customize at least 3 Bootstrap components on each page

Beyond these requirements, feel free to explore Bootstrap and take this project as far as you would like! Sites that demonstrate extra effort, thoughtfulness, and creativity will be considered for extra credit.

Submitting Your Assignment

Upload your website files to the i6 Unix server with an SFTP client. Test your files once they are live on the Web to make sure they are accessible. Submit the following via NYU Classes.

  • The URL to your pages in the general form of: http://i6.cims.nyu.edu/~netid/bootstrap/
  • A compressed archive containing all the files of your website

Grading

This assignment is worth 10 points.

  • A Bootstrap-powered website of at least three different pages (3 points)
  • A single Bootstrap navigation component on all pages (1 point)
  • A Bootstrap grid system for page layout (2 points)
  • At least two layouts for responsive design: one for mobile devices and one for desktop computers (1 point)
  • A Bootstrap carousel widget with at least three images (1 point)
  • At least three custom Bootstrap components on each page (2 points)
  • Extra credit (1–3 points)