E34: BrowserHistory with Bootstrap 5

Prior to starting this WOD, you should merge your ‘columns’ branch from BrowserHistory3 back into main.

Also, be sure to have gone through the Bootstrap 5 Hello World reading.

In this WOD, you will use Bootstrap 5 to create a three column layout and a navbar. When finished, it should look like this (click to see full size):

picture

The WOD

  1. Start your timer.

  2. Create a branch off your local browserhistory repo main branch called ‘bootstrap-1’, and checkout that branch locally. You will do your work for this WOD in that branch. (If you are doing it for the second time, name it ‘bootstrap-2’.)

  3. You will not use LiveReload for this WOD. Instead, use the Live Preview facility within VSCode to see your changes as you make them.

  4. Load the Bootstrap 5 files following the instructions in Bootstrap 5 Hello World. You can delete the google fonts link element. Keep the style.css link, but delete its contents.

  5. Convert the navigation bar into a Bootstrap 5 Navbar. The menu elements should link to the appropriate places in the text as before. Use the “navbar navbar-expand-sm navbar-dark fixed-top bg-dark” classes. You’ll need to style the ‘a.nav-link’ to set the color to white. You’ll want to wrap the nav-links in a container-fluid d-flex justify-content-evenly to justify the links evenly.

  6. Wrap the rest of the page in a Bootstrap 5 Container to improve the margins.

  7. Use Bootstrap 5 Image to float the three logos. Try “float-start”.

  8. Use Bootstrap 5 Grid to put the three browser descriptions into columns. Each column should use class “col”.

  9. Get rid of the extraneous divs referencing the classes from BrowserHistory3.

  10. Check to see that your page looks like the screen image above.

  11. Now commit your branch to GitHub, and check to see that it’s there.

  12. Stop your timer and record your time. Be sure to record it, because you will need your WOD time data when you write your technical essay.

Rx: <15 min Av: 15-20 min Sd: 20-25 min DNF: 25+ min             

Demonstration

Once you’ve finished doing the WOD a single time, watch me do it:

Standard WOD Caveats

You’ll learn significantly less from watching me solve the WOD if you haven’t attempted the WOD yourself first.

While it’s an achievement to finish the WOD no matter how long it takes, you might experience “diminishing returns” if you work longer than the DNF time. Thus, it is usually strategic to stop working at the DNF time and watch my solution.

After watching my solution, I recommend that you repeat the WOD if you have not achieved at least Av performance. If so, be sure to:

Feel free to keep trying until you make Rx if that’s of interest to you.

Submission Instructions

By the time and date indicated in Laulima, submit this assignment via Laulima.

You must grant read access to this repo to the TA for your section. To do this:

Your submission should contain:

You will receive full credit for this practice WOD as long as you have attempted it at least once and submitted your work on Laulima with all required data before the due date. Your code does not have to run perfectly for you to receive full credit. However, if you do not repeat each practice WOD until you can finish it successfully in at least AV time, you are unlikely to do well on the in-class WOD. To reduce the stress associated with this course, I recommend that you repeat each practice WOD as many times as necessary to achieve at least AV before its due date.