CSCI 185: Fall 2023

Introduction to Programming for the Web

CSCI 185: Fall 2023

UNCA Logo

Fish by @akeatk

Quiz 2: Taco Temple Part II

Guidelines

  • Read the instructions that are outlined under each section very carefully.
  • Complete as many tasks as you can by the end of the quiz.
  • Make your pages look as close to the screenshots / demos as possible.
  • You may use your notes, any sample code, any prior work you’ve completed, and the Internet
  • You may not communicate with anyone during the quiz.
  • Partial credit given. Just do your best.

Set-Up

Quiz 2 Starter Files

Your directory structure should look something like this (it’s OK if your file structure looks different, so long as the quizzes folder looks like the one below):

csci185
├── homework
├── index.html
├── lectures
├── quizzes
│   ├── quiz01
│   └── quiz02
├── styles.css
└── tutorials

When you’re done with that, complete the Parts 1-7 as described below:

  1. (20pts) Header
  2. (15pts) Google Fonts
  3. (25pts) Main
  4. (10pts) Accessibility
  5. (10pts) Pseudo-classes   transitions
  6. (15pts) Responsive layout
  7. (5pts) Link from your homepage

Your Tasks

Part 1. Header [20pts]

Make the header section look like the picture below, following the guidelines provided:

Part 2. Google Fonts & Header Styling [15pts]

When you’re done, the fonts should look like the ones pictured in the Part 3 screenshot.

Part 3. Main [25pts]

Within the main section of your HTML page, create layout shown below by following the guidelines:

Part 4. Accessibility [10pts]

Use the WAVE browser extension to fix any accessibility errors. When you’re done, you should have no accessibility errors.

Part 5: Pseudo-classes & Transitions [10pts]

Create a rule for all of the “card” sections so when you hover over them:

Part 6: Responsive Layout [15pts]

Create a media query that activates when the width of the screen is 800px or less. Within the media query, implement the following rules:

Part 7: Add a link from your homepage [5pts]

  1. Update your homepage by adding a link to the index.html file that you made in this quiz (and make sure you are using a relative link). Sarah’s quiz looks like this:
  2. Commit and sync your changes to GitHub.

Submit to the Moodle

Before you submit

Verify that you’ve completed all 7 tasks and that you’re final Taco Temple menu page (mobile/tablet and desktop) looks as similar as possible to the animations (shown below):

Desktop Layout

Animation of Desktop layout

Tablet / Mobile

Animation of Tablet / Mobile layout

Submit to the Moodle

Please Read Carefully: To submit Quiz 2, paste the following links into the Moodle under the Quiz 2 submission section:

  1. A link to your homepage on GitHub pages.
  2. A link to your GitHub code repository (where your code files are stored).

If your GitHub is not working for whatever reason, just zip your COMPLETED quiz02 folder and upload it to the Moodle.