Skip to content

A minimalist profile card with a profile image, bio, location, and social media links (e.g., GitHub, LinkedIn). Designed with a dark theme and centered layout for a Frontend Mentor challenge.

Notifications You must be signed in to change notification settings

aclf12/blog-preview-card-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Frontend Mentor - Blog Preview Card Solution

This is a solution to the Blog Preview Card challenge on Frontend Mentor. This challenge helps practice and improve coding skills by building realistic projects.

Table of Contents


Overview

The Challenge

Users should be able to:

  • View hover and focus states for all interactive elements on the page
  • View the page with a responsive layout on different devices (desktop and mobile)

Screenshot

image

Links

Development Process

Built With

  • Semantic HTML5 to structure the content
  • CSS3 for styling and layout
  • Flexbox for element alignment
  • Media queries for responsive card resizing (content inside the card remains unchanged)
  • Display block and flex for layout adjustments
  • Yellow and black color palette for a minimalist design

What I Learned

This project was a great opportunity to improve my HTML and CSS skills, especially in terms of applying responsive design principles. I used media queries to adjust the card size based on the screen width, ensuring a consistent visual experience on both mobile and desktop devices without altering the content within the card.

Example of media query code used:

@media only screen and (min-width: 375px) and (max-width: 800px) { 
    #content {
        display: block;
        margin-inline: auto;
        width: 327px;
        height: 501px;
        background: white;
        border: 1px solid black;
        border-radius: 20px;
    }
}

This code snippet shows how the card’s size is adjusted to fit within the specified screen width range, keeping the content layout inside the card intact.

Future Development

I plan to continue exploring responsive design techniques, including adding animations to enhance interactivity. Additionally, I aim to improve my knowledge of CSS variables to streamline style organization and facilitate future customizations.

Useful Resources

  • Alura Blog - Provided helpful tips for web design and CSS best practices.
  • Stack Overflow - Helped troubleshoot issues and find solutions during development.
  • Google Gemini - Useful for understanding responsive design fundamentals.
  • Dev Media Blog - Offered great insights into CSS techniques and HTML structuring.

Author

Acknowledgments

Thanks to Frontend Mentor for the opportunity to work on this project and to the resources that were essential for learning during the creation of this website.


About

A minimalist profile card with a profile image, bio, location, and social media links (e.g., GitHub, LinkedIn). Designed with a dark theme and centered layout for a Frontend Mentor challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published