CSCI 185: Fall 2023

Introduction to Programming for the Web

CSCI 185: Fall 2023

UNCA Logo

Fish by @akeatk

Assignments > Tutorial 5: CSS Flexbox Practice

Due on Mon, 10/02 @ 11:59PM. 6 Points.

Overview

The goal of this week’s tutorial is to give you practice with CSS Flex. To do this, you will complete 3 exercises, which you will have time to work on during class on Friday.

References

To complete this tutorial, you will likely need to consult some CSS references (or Google for information). Below, I have provided a link to some of the references that I believe will be most helpful to you:

Flex

Your Tasks

Tutorial 5 Starter Files

Download the tutorial05.zip file, unzip it and move the unzipped tutorial05 folder into the csci185/tutorials folder.

1. Flexbox Froggy

Please complete levels 1-13 of Flexbox Froggy and take a screenshot of your completed levels (like the screenshot shown below, but with the first thirteen levels completed). When you’re done, save your screenshot in the tutorial05/01-flexbox-froggy folder.

2. Center-align elements within a container

Open 02-flex and create the layout shown below by editing the CSS file. You should not need to edit the HTML.

Please ensure that the following criteria are met:

3. Create a Navigation Bar

Open 03-navbar, and try to make the following layout using flex. The navigation bar should also be anchored to the top so when you scroll, the nav bar stays fixed.

Hints:

What to turn in

Please read carefully: To turn in Tutorial 5, please link to all 3 tasks on your homepage. See Sarah’s homepage to see an example of what your homepage should look like:

When you’re done, paste the following links into the Moodle under the Tutorial 5 submission section:

  1. A link to your homepage on GitHub pages, which should link to all 3 parts of this tutorial.
  2. A link to your GitHub code repository (where your code files are stored).