In this activity, you will:
Apply CSS styling to create an attractive book collection website
Use different CSS properties for fonts, colors, and alignment
Organize content with proper spacing and sections
Create a personalized digital bookshelf
⏱️ Total Activity Time: 45-60 minutes
⚠️ Important
Remix this project to start!
Make sure you're logged into EduBlocks first!
In this project, you'll use CSS to create a beautiful website showcasing your favorite books.
⏱️ Building Time: 30-40 minutes
Open the remixed project in EduBlocks
Add a main heading for your book collection
Give your bookshelf a creative name (e.g., "Sarah's Reading Corner", "My Fantasy Book Collection")
Find the CSS styling block in your toolbox
Apply these CSS properties to your heading:
Change the color to match your theme
Select a font that suits your book collection
Set the alignment (center works great for titles!)
Use this block to style your heading:
💡 Tip
[Styling Tip]
Try using bold, larger fonts for your main title to make it stand out! You can also experiment with different color combinations.
Upload an image of your book cover
Add a text block below the image
Include these details about your book:
Book title
Author name
Genre (fiction, mystery, fantasy, etc.)
Year published
Your personal rating (out of 5 stars)
💡 Tip
[Image Tip]
If you can't find a book cover image, you can search for "[book title] cover" on Google Images. Make sure to use appropriate images!
Repeat Step 3 for at least 2 more books
Make each book its own section
Apply different CSS styles to each section for variety
Use the spacing block to create gaps between book sections
This makes your website easier to read
Add spacing using this block:
💡 Tip
[Spacing Tip]
Consistent spacing makes your website look professional. Try using the same amount of space between each book!
⏱️ Planning Time: 5 minutes
Use this template for each book in your collection:
ini
📖 Book Title: [Name of the book]
✍️ Author: [Author's name]
📂 Genre: [Fiction/Non-fiction/Mystery/Fantasy/etc.]
📅 Year: [Publication year]
⭐ My Rating: [★★★★☆]
💭 Why I like it: [One sentence about why you enjoy this book]
💡 Tip
[Book Selection]
Choose books from different genres to make your collection more interesting! Mix fiction with non-fiction, or showcase books from different time periods.
⏱️ Styling Time: 10 minutes
Try these CSS combinations for a stunning bookshelf:
Classic Library : Brown backgrounds with gold text
Modern Minimal : Black, white, and one accent color
Rainbow Shelf : Different color for each book section
Night Mode : Dark background with light text
Headings : Georgia, Arial Black, or Impact
Book details : Arial, Verdana, or Times New Roman
Mix it up : Use different fonts for titles vs. descriptions
💡 Tip
[Design Tip]
Keep your text readable! Avoid using light colors on light backgrounds or fonts that are too fancy to read easily.
Solution : Ask your teacher about resizing images, or look for smaller/larger versions online
Solution :
Check your color contrast (dark text on light background or vice versa)
Make your font size bigger
Choose a simpler font
Solution : Add more spacing blocks between sections
Solution :
Make sure you've connected the CSS block to the right element
Check that you've spelled CSS properties correctly
Try refreshing your preview
Before submitting, make sure you have:
ℹ️ Ready to Submit?
When you've completed your "My Books on The Shelf" project and checked everything above:
Submit Your Project Here
Remember to test your webpage one final time before submitting!
If you finish early, try these extra challenges:
Add a background color or pattern to your entire page
Create a "Currently Reading" section with special styling
Add emoji ratings instead of stars (😍 = loved it, 😊 = liked it, 😐 = it was okay)
Group your books by genre with different color themes
🎉 Great job learning CSS! Your personalized bookshelf is going to look amazing!