Skip to main content

Task 1: Build the Right Mindset & Take Action

Affirmation & Motivation**​

Before starting, believe in yourself and repeat these affirmations:

✅ I am capable of learning and mastering coding.
✅ I solve coding challenges with confidence and patience.
✅ Every challenge is an opportunity to grow.
✅ I trust the process and improve daily.

💡 Repeat these before starting your task!


Task Answer & Explanation**​

🎥 Watch this video for the solution and step-by-step guidance:


Task – HTML & CSS Basics**​

📌 Objective​

  • Create a simple webpage with a heading, paragraph, and basic styling.
  • Apply CSS styles to change the background color and text formatting.

📌 Instructions​

1️⃣ Create a new file index.html in your project folder.
2️⃣ Write the following HTML structure:

<!DOCTYPE html>
<html>
<head>
<title>My First CSS Example</title>
<style>
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: Verdana, sans-serif;
font-size: 20px;
}
</style>
</head>
<body>

<h1>My First CSS Example</h1>
<p>This is a paragraph.</p>

</body>
</html>