Apply your knowledge to build something amazing!
Basic Level
Advanced Level
(Make sure you click clone word)
:warning: Warning Common Pitfall Alert! Many students forget to add the
<table>
tag first! Without it, your rows and columns won't display properly. Always start with:
<table>
tag- Then add
<tr>
(table rows)- Inside rows, add
<th>
(headers) or<td>
(data cells)
Start by dragging the <table>
block to create your timetable container. This is like creating the frame for a picture - everything else goes inside!
Real HTML Connection: In real web development, tables use this exact structure:
<table>
<tr>
<th>Time</th>
<th>Monday</th>
</tr>
<tr>
<td>8:00-9:00</td>
<td>Math</td>
</tr>
</table>
Before moving on, make sure you have:
<table>
block<tr>
(row) block:bulb: Tip Best Practice: Choose colors that make sense! For example:
Real CSS Connection: This block adds the CSS property border: 1px solid black;
to your table elements!
:warning: Warning Common Mistake: Forgetting border-collapse makes your table have double borders between cells. Always add this for a professional look!
Your table should now have:
<th>
block. To add data in the table, you can use the <td>
block and to add rows for your timetable, you can use the <tr>
blockUnderstanding the Difference:
<th>
= Table Header (automatically bold and centered)<td>
= Table Data (regular text)<tr>
= Table Row (horizontal line of cells):bulb: Tip Pro Tip: Use
<th>
for:
<img>
blockMake your timetable more visual! Add small icons for:
Real-World CSS Classes: This teaches you how professional developers organize their styles:
.math-class { background-color: lightblue; }
.lunch-break { background-color: lightyellow; }
.pe-class { background-color: lightcoral; }
:bulb: Tip Naming Convention: Use descriptive class names like:
morning-session
afternoon-session
special-event
This makes your code easier to understand later!Having trouble? Check these common issues:
Table not showing?
<table>
tag<tr>
tags are inside the <table>
Cells not aligned?
<td></td>
for blank cellsBorders look weird?
Colors not working?
Your completed timetable should have:
Make sure your class timetable includes:
Ready to level up your timetable? Try these advanced features:
Add a hover effect that highlights the cell when you move your mouse over it:
td:hover {
background-color: lightgray;
cursor: pointer;
}
Make your timetable look good on mobile devices by adding:
:bulb: Tip Remember: A great timetable is:
:warning: Warning Before Submitting:
- Test your timetable in the preview window
- Check that all text is readable (good color contrast)
- Verify all days and times are included
- Make sure your borders display correctly
- Double-check spelling of subjects and days!
When you have completed your "Class Timetable" project, submit it using the link below:
:tada: Congratulations on creating your digital class timetable! You've just built something that real web developers create for schools, universities, and businesses around the world!