Assignment 3B — My Favorite Superheroes
Assignment 3B — My Favorite Superheroes⌗
Instructor: Laksh Budhrani
Quick Recall: HTML Tags & CSS Properties⌗
HTML Tags⌗
| Tag | What It Does |
|---|---|
<div> | Groups larger sections of content |
<span> | Groups a small part of text |
CSS Properties⌗
| Property / Concept | What It Does |
|---|---|
background-color | Changes the background color |
font-family | Changes the font |
color | Changes the text color |
font-size | Changes the text size |
text-align | Aligns text horizontally |
text-decoration | Adds or removes decorative lines |
width | Controls the width of an element |
height | Controls the height of an element |
border | Adds an outline around an element |
padding | Adds space inside the border |
margin | Adds space outside the border |
display: inline-block | Places elements next to each other |
Class selector (.card) | Selects elements assigned to a particular class |
Your Mission — My Favorite Superheroes!⌗
Who are your favorite superheroes?
Choose THREE or more superheroes and create a webpage showcasing them!
Your webpage should include:
- The name of each superhero.
- An image of each superhero.
- A short description of each superhero.
- A separate Featured Superhero section highlighting one of your favorites.
You can choose superheroes from Marvel, DC, anime, or any other fictional universe!
Example Output⌗

CSS Requirements⌗
Your webpage must meet the following requirements:
- Create at least three superhero cards using separate
<div>elements. - Assign the same class to all superhero cards and style them using a class selector.
- Use
display: inline-blockto arrange the superhero cards next to each other. - Create a separate class selector for your Featured Superhero section.
- Use
width,height,background-color,border,padding, andmarginto style your webpage. - Use appropriate colors, fonts, and text styling to make your webpage attractive.
Final Checklist⌗
Before submitting, make sure you have completed everything!
- My webpage showcases at least three superheroes.
- Each superhero has a name, image, and short description.
- I have used the same class selector for all superhero cards.
- I have used
display: inline-blockto arrange the cards. - I have created a separate class for the Featured Superhero section.
- I have used the required CSS properties.
- My webpage is neat, attractive, and easy to read.
Submission Instructions⌗
- Save your HTML file as
assignment_3b.html. - Paste your complete HTML and CSS code into a Google Doc.
- Add a screenshot of your completed webpage.
- Submit your Google Doc in Google Classroom under Assignment 3B — My Favorite Superheroes.
Have fun creating your superhero webpage!