Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST TOOLS MATH

Projects

Projects Home Personal Page Profile Card Collection JavaScript Toolkit Portfolio Recipe Page CSS Landing Page JavaScript Data Toolkit Interactive Todo List Mobile Calculator Weather Dashboard Browser Puzzle Game E-commerce Frontend Analytics Dashboard

Share

HTML Project: Menu, Photos and Hours

Complete each step in the editor and watch the result as your page takes shape.

Build Menu, Photos and Hours, step-by-step

Add what every café needs.

A price menu, food photos, opening hours, and links.

Easy · +70 XP · HTML CSS

What you will use in this project

  • Tables
  • Images
  • Description lists
  • Links and bookmarks

How it works

  1. 1 Follow the steps on the left. Each dot in the stepper bar is one focused chunk of work. Read the instructions, the “What to do” checklist, and any hints.
  2. 2 Write your code on the right. The editor is yours. Files auto-save as you type. Use the Preview tab to see your work in action.
  3. 3 Click Check code when you’re ready. We grade your work against the step’s rubric and tell you exactly what passed and what still needs work.
  4. 4 Pass a step to move on. Build the project cumulatively. Pass every step to complete it and earn the full XP.

How it’s graded

This project is broken into 5 steps. Each one has its own pass criterion. Click Check code on every step to verify your progress and earn the full +70 XP.

# Step & pass criterion Weight
1 Write the menu
  • Before the reviews <h2>, add <h2 id="menu">Menu</h2>.
  • Under it, add a <table>: a row with two <th>, then five rows with two <td>, item and price. Include Pancake stack, Cherry croissant and Cappuccino.
16 pts
2 Style the menu
  • In the style element, give table width: 100%, border-collapse: collapse and background-color: white.
  • Give th, td padding: 12px 16px, text-align: left and border-bottom: 1px solid #EEEEEE.
16 pts
3 Show the food
  • Under <h2 id="menu">, before <table>, add a <p> with three <img> food photos.
  • Give each photo an alt text, and one of these addresses as src:
  • Give the photos the same height, like height="120".
24 pts
4 Add opening hours
  • Before </body>, add an <h2> with id="hours".
  • Under it, add a <dl> with two days, each in its own <dt>. Under each day, add its times in a <dd>.
  • In the style element, give dt font-weight: bold.
23 pts
5 Link it all up
  • Under the <p> with color:gray, add a paragraph with style="text-align:center;" and a link to #menu, like See the menu.
  • Under </dl>, add a social media link with an https:// address and target="_blank".
  • In the style element, give a a color. Change the <title> to the name of your café.
21 pts
index.html
Menu, Photos and Hours preview
← Browse all projects


Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by W3Schools. All Rights Reserved. W3Schools is Powered by W3.CSS.