CIS-2450 Lab #2: Bootstrap/Sass

Reading: Refer to the documentation for Bootstrap and Sass.

Part 1: Install Tools

  1. Install Node.js on your development system using whatever method suits you.

  2. Install Sass on your development system using npm.

  3. (OPTIONAL) Install Bootstrap on your development system using npm.

Part 2: Create a Web Page

In this lab, you will be using Bootstrap and Sass to build and format a static webpage. You can test your page using your Apache instance that you installed last week. I recommend creating a lab-02 folder directly inside your htdocs folder and placing the *.html and *.scss files directly in the lab-02 folder.

The page must include several pieces in the following order (from top to bottom):

  1. A sticky navigation bar with at least three links on it. The links do not need to actually go anywhere.

  2. A carousel including at least three images. It should have the standard controls and indicators. It should pause when the cursor is over an image.

  3. Following the carousel, you should have two rows which are responsive to the display width. These rows should take up the entire width of the page unless the page is very wide.

  4. Choose one more Bootstrap component and add that to your page.

  5. Create a lab-02.scss file and add some simple style information.

  6. Generate lab-02.css from lab-02.scss and link it into lab-02.html.

Submission

For this lab, submit the contents of your lab-02 folder to Canvas. This should include lab-02.html, lab-02.scss, and the generated lab-02.css.


Last Revised: 2024-09-20
© Copyright 2024 by Peter Chapin <peter.chapin@vermontstate.edu>