Web Development II - Reid - 2025-S14
3.5.2 We Really Like Dairy
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • My Dashboard
  • Web Development II - Reid - 2025-S14
  • Assignments
  • 3.5.2 We Really Like Dairy
2024/2025 - St. George Academy - Semester 1
  • Home
  • Modules
  • Pages
  • Assignments
  • Quizzes
  • Collaborations
  • Google Drive
  • Lucid (Whiteboard)
  • Canva for Education

3.5.2 We Really Like Dairy

  • Due Oct 2, 2024 by 11:59pm
  • Points 5
  • Submitting a file upload
  • File Types html
  • Available after Oct 1, 2024 at 12am

This webpage contains a grocery list.

Step One
First, create a CSS rule such that every li tag has the font-size 20px.
Run the code and note the difference it makes.

Step Two
Using what you know about CSS rule precedence, create a class named dairy and use it to make the list elements “Milk” and “Cheese” have the font-size 30px.

 

STARTER CODE

<!DOCTYPE html>
<html>
    <head>
        <title>Grocery List</title>
        
        <style>
        
        </style>
    </head>
    
    <body>
        <h1>Food I Need</h1>
        
        <ul>
            <li>Milk</li>
            <li>Bread</li>
            <li>Cheese</li>
            <li>Tea</li>
            <li>Lettuce</li>
            <li>Apples</li>
        </ul>
    </body>
</html>
1727935199 10/02/2024 11:59pm
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

Find Rubric
Please include a title
Find a Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5