Assignment 16 - Programming with Scratch
Practice with the following: Total Marks = 10
🎯 Objective:
To strengthen the student's understanding of how to build and style web content using HTML
and CSS with 2 practical coding tasks.
🔹 Task 1 – Favorite Quotes with CSS
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #fff8dc;
font-family: Arial;
}
blockquote {
background-color: #e0f7fa;
border-left: 5px solid #00796b;
padding: 10px;
margin: 10px;
font-style: italic;
color: #333;
}
</style>
</head>
<body>
<h2>My Favorite Quotes</h2>
<blockquote>"The best way to learn is to do."</blockquote>
<blockquote>"Practice makes perfect."</blockquote>
</body>
</html>
🔹 Task 2 – Birthday Invitation with CSS
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #ffe4e1;
text-align: center;
}
h1 {
color: #d32f2f;
font-family: 'Comic Sans MS';
}
p{
border: 2px dashed #f06292;
padding: 10px;
width: 60%;
margin: auto;
font-size: 18px;
}
</style>
</head>
<body>
<h1>You're Invited!</h1>
<p>Come to my birthday party on Saturday at 5 PM!</p>
<p>Location: Garrison School Auditorium</p>
<p>Hope to see you there!</p>
</body>
</html>
Note: These marks will be given to you on the weekly practical/activity.