Assignment 5: External JavaScript Libraries

Folder structure

Your work for this assignment should live in the folder:

csc336-fall2025/05-external-libraries

The site should be viewable on GitHub Pages. For example:

https://username.github.io/csc336-fall2025/05-external-libraries/

Goal

In this assignment, you will practice incorporating external JavaScript libraries into a webpage using <script> tags (from a CDN). You will make a simple restaurant landing page (e.g., for a pizza place) that uses your own HTML/CSS plus at least one external JavaScript library to make the page more interesting or interactive.

Think small. The point of this assignment is not to build a whole restaurant site, but to practice including and using an external JS library to add some interactivity or visual interest.

Requirements

  1. Create a basic restaurant website landing page:
    • A title for your restaurant.
    • At least one image (e.g., food, restaurant, logo).
    • A short paragraph describing your restaurant.
    • Any other content you’d like (hours, location, fun facts, etc.).
  2. Add at least 3 CSS rules to style your page.
  3. Use at least one external JavaScript library loaded via CDN.
    • You must use it in a way that changes the page or adds some visible/interactive effect.
  4. Include your own JavaScript code that interacts with the library (not just static).
  5. Be creative! Your use of the library doesn’t have to be big or complicated. A small, fun effect is enough.

Example Libraries

You may use any library that can be included via a <script> tag and works with plain HTML/CSS/JS. Here are some suggestions:

Example Ideas

Submission