# Homework 3 - Bootstrap and LESS

Due: Monday, February 17, 2025 at 11:59pm

Purpose: - Use the Browser's built-in developer tools to troubleshoot design problems - Gain experience with Bootstrap, CSS, and LESS ## Overview This assignment consists of 4 components: 1. Experiment with our browser's web developer tools 2. Create and deploy static HTML page with Bootstrap elements 3. Add LESS styles to your HTML page 4. Validate your HTML document You may work alone or with another student in the course and you may share your code publicly on GitHub (after the homework due date). **Getting Started:** Review the Bootstrap [documentation](https://getbootstrap.com/docs/5.3/getting-started/introduction/) and [examples](https://getbootstrap.com/docs/5.3/examples/). In this assignment, we will inspect an HTML page that makes use of Bootstrap elements. Then, you will be asked to choose and incorporate Bootstrap components together---and customize them to your design---to produce a website. ## Experiment with Web Developer Tools The first portion of this homework will guide us through using the web developer tools built into our browsers. These tools are powerful; they allow us to view and modify the browser's current version of the DOM, view the applied CSS stylings to any individual element on the page, and modify the CSS at the element and page level. To begin, we have provided an example home page that includes some Bootstrap components. Open this [example home page](hw3starter.html) in a new browser tab and notice that some things don't seem quite right. We will further investigate in the web developer console. The page should look similar to the following:\ ![Problematic design](../images/hw3initial.png) 1. Open the web developer console for your browser. This can be achieved through the menu or by right-clicking anywhere on the page and choosing "Inspect." (Exact terminology may differ per browser.) Once open, you should be presented with a tool view similar to the ones depicted below.\ ![Google Chrome Tools](../images/chrometools.png)\ ![Mozilla Firefox Tools](../images/firefoxtools.png)\ Google Chrome Tools (top) and Mozilla Firefox Tools (bottom) 2. The developer tools provide a few key ways to interact with the current page. On the left-hand side, we can see the HTML-like view of the browser's DOM. We are also able to edit the DOM and view the effects live in the browser. If we move our mouse over any element displayed in the DOM, the browser will highlight that element on the page itself, showing the bounding box, padding, and margin. An example is shown below with the mouse hovering over the `div` element\ ![Highlighted div element](../images/hw3highlight.png) 3. If we click the element in the DOM, notice that the pane to the right updates. The right-side pane (Chrome) or middle pane (Firefox) as seen above show the styles currently applied to the selected element. If we modify any of the styles here, we can see the immediate effects on the page. 4. **Note**: These tools only affect the currently displayed page and are made for debugging our code. If we want to persist these changes, we must also make them to our HTML or CSS files. 5. Interact with the elements on the page using the DOM and style tools until you are familiar with their options. Be sure to right-click on elements in the DOM view to notice options such as deleting a node, duplicating a node, and editing a node as HTML. If you change any elements in the DOM or styles in the CSS, please refresh the page before continuing. Now let us troubleshoot this problematic page. 1. First we note that the navigation is not visible. Click the `