As part of my FreeCodeCamp journey, I built a Tribute Page to honor Dr. Norman Borlaug, a scientist whose contributions revolutionized global agriculture. This project tested my foundational HTML and CSS skills while challenging me to create a structured, visually appealing webpage. Let me share the thought process behind this work.
The Goal
The purpose of this project was to create a responsive web page highlighting the life and achievements of Dr. Norman Borlaug. The page needed to include key sections like a title, image with caption, timeline of events, and a quote block, all styled to enhance readability and engagement.
The Structure
Here’s how the page was structured:
- Header Section
The page starts with a title and subtitle that introduces Dr. Borlaug.- The
<header>
tag helps semantically define the topmost section of the page. - Styling ensures the title and subtitle stand out visually, with ample margin and padding for spacing:
- The
- Image with Caption
Below the header, an image with a detailed caption provides a visual element to the page.- The
<figure>
tag groups the image and caption together. - CSS ensures the image is centered and the caption is aligned for readability:
- The
- Timeline Section
A structured timeline uses an unordered list to showcase significant milestones in Dr. Borlaug’s life.- CSS styles the list for readability and proper alignment:
- Quote Block
A blockquote highlights an inspiring statement about Dr. Borlaug.- The
<blockquote>
and<cite>
tags provide semantic meaning for quotes and attributions. - Styling adds an elegant, italicized look:
- The
- Call-to-Action Link
The page ends with a link encouraging further reading.- CSS styles the link for a clean and accessible look:
What I Learned
This project taught me:
- How to use semantic HTML tags for better accessibility.
- The importance of responsive and clean design in improving user experience.
- Applying CSS flexbox to align and center elements effectively.
Future Enhancements
If I were to revisit this project, I would:
- Incorporate animations to make the timeline interactive.
- Add JavaScript to allow users to expand and collapse sections for better engagement.
Key Takeaway
This tribute page demonstrated how structured HTML and CSS combine to narrate a story effectively. It reinforced the significance of semantics, readability, and visual appeal in web design.
Discover more from Ajala Mark
Subscribe to get the latest posts sent to your email.