Skip to content

Rifat770-coder/module5-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Specials — Module 5 Coding Assignment

This is the solution for Module 5: HTML, CSS, and JavaScript for Web Developers
Coursera course by Johns Hopkins University.

Description

The Random Specials project modifies the existing restaurant web app so that clicking the Specials tile takes the user to a random menu category page instead of a fixed category.

How it works:

  • Modifies script.js to generate a random category short name
  • Passes the random category to $dc.loadMenuItems()
  • Uses a random category list

How to run:

  1. Clone this repository
  2. Open index.html in your browser
  3. Click "Specials" to go to a random category page
  4. Refresh and click again for different categories

Example output:

Clicking Specials multiple times will show different category menu pages.

GitHub Pages URL

[YOUR_GITHUB_PAGES_URL]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published