Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive landing page with the use of html5,CSS,bootstrap.

@maryfiona

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

What I'm Most Proud Of

1 Responsive Design: Successfully creating a responsive blog preview card that looks great on both desktop and mobile devices using Bootstrap's grid system and custom CSS.

2 Clean and Modern Aesthetics: Achieving a clean and modern look for the card with customized styling, such as thicker borders, rounded corners, and a well-structured layout.

3 SVG Integration: Seamlessly integrating an SVG image into the card and making it responsive, ensuring that it scales well with different screen sizes.

4 Enhanced User Experience: Improving the user experience by customizing the button to have no outline on focus and adding a box shadow to the card for better visual appeal.

What I Would Do Differently Next Time

1 More Detailed Styling: Spend more time refining the CSS to enhance the overall design, including finer details like typography, spacing, and color schemes to improve visual consistency.

2 Accessibility Improvements: Focus more on accessibility features, such as adding ARIA labels, ensuring sufficient color contrast, and improving keyboard navigation.

3 Interactive Elements: Add more interactive elements, like hover effects or animations, to make the card more engaging.

4 Scalability: Ensure the design is scalable for different use cases by using more modular and reusable CSS classes and possibly integrating a CSS preprocessor like SASS for better maintainability.

5 Performance Optimization: Optimize the SVG and other assets for better performance, such as reducing file sizes and lazy-loading images.

What challenges did you encounter, and how did you overcome them?

Challenges Encountered and Solutions

1 SVG Integration and Scaling

Challenge: Ensuring that the SVG scales correctly and fits well within the card design. Solution: Adjusted the SVG width and height directly in the HTML and used CSS to set the maximum width to make it responsive. Added width: 100% to ensure the SVG scales with the card's size.

2 Responsive Design Issues

Challenge: Making sure the card looks good on both desktop and mobile views. Solution: Utilized Bootstrap's grid system to create a responsive layout. Adjusted the CSS to handle different screen sizes, ensuring the card maintains its proportions and readability on all devices.

3 Button Styling and Outline Removal

Challenge: Customizing the button to remove its outline and maintain a clean look on focus. Solution: Added custom CSS to the button to remove the border and outline, and used box-shadow: none to prevent visual artifacts on focus and active states.

4 Card Border and Shadow Customization

Challenge: Adding a thicker border and shadow to the card for visual emphasis while ensuring it remains responsive. Solution: Applied a custom box-shadow and border styling using CSS. Tested the card on various screen sizes to ensure the styling looked consistent.

5 Cross-Browser Compatibility

Challenge: Ensuring that the design and functionality work across different browsers. Solution: Tested the design on multiple browsers (Chrome, Firefox, Safari) and adjusted CSS as needed to handle browser-specific quirks.

6 Optimizing Performance

Challenge: Ensuring that the page loads quickly and efficiently, especially with external resources like Bootstrap and images. Solution: Used minified versions of Bootstrap and optimized image sizes. Ensured that scripts and stylesheets are loaded efficiently and used lazy-loading for images when appropriate.

What specific areas of your project would you like help with?

1 CSS Styling

How to adjust or fine-tune the CSS for better responsiveness or visual appeal. Techniques for optimizing the card’s design and layout.

2 SVG Integration

Best practices for scaling and positioning SVGs within responsive designs. Troubleshooting any issues with SVG rendering or compatibility.

3 Bootstrap Grid System

Tips on effectively using Bootstrap’s grid system for layout adjustments. Handling complex layouts and ensuring they work across various screen sizes.

4 Performance Optimization

Strategies for optimizing page load times and handling large images or external libraries. Tools and techniques for improving overall performance and efficiency.

5 Cross-Browser Compatibility

Ensuring that the design and functionality work consistently across different browsers. Addressing any specific issues or quirks observed in certain browsers.

6 JavaScript Functionality

Assistance with adding interactive features or fixing issues with JavaScript code. Debugging and optimizing JavaScript for better performance.

7 Accessibility

Ensuring the design is accessible to users with disabilities. Implementing best practices for accessibility, such as ARIA roles and keyboard navigation.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord