Latest solutions
Latest comments
- @Bene001700Submitted 26 days agoP@r0b3rtcode020Posted 25 days ago
Very good solution, congrats! You only need to check some details like padding, line-height and icon size. I like how you used picture tag for responsive images
Marked as helpful1 - @LucasOrtiz5Submitted about 2 months ago
- @Leonardobern10Submitted 2 months agoP@r0b3rtcode020Posted about 2 months ago
Congratulations on your solution. Just a small tip that could help you understand how to layout better and thus have better grouping and separation of elements is: in 'paint' you can take the image and with rectangles you can group elements and measure approximate spacings. This could help you improve in layout design and have greater precision when grouping and separating elements.
0 - P@hongleir2Submitted about 2 months agoWhat are you most proud of, and what would you do differently next time?
I am most proud of successfully implementing the social links profile with a clean and structured design that closely matches the original challenge. The use of CSS variables for colors improves maintainability, and the flexbox layout ensures proper alignment and spacing. Additionally, the responsive design adapts well to different screen sizes.
If I were to improve this project, I would:
- Enhance accessibility by ensuring correct
role
attributes and using<nav>
for social links instead of a<div>
. - Use semantic HTML elements, such as replacing
<div class="bio-txt">
with<p>
for better readability. - Explore alternative layout techniques, such as CSS Grid, to see if it provides additional flexibility.
- Challenge: Managing colors dynamically using CSS variables.
- Solution: Declared color variables in
:root
for reusability and easy updates.
- Challenge: Ensuring the profile card scaled well on smaller screens.
- Solution: Used media queries (
max-width: 375px
) to adjust width and padding for mobile users.
- Challenge: Keeping button styles consistent and ensuring they looked balanced within the profile card.
- Solution: Applied uniform padding, border-radius, and spacing for consistency.
I would appreciate feedback on the following areas:
-
CSS Best Practices:
- Are there better ways to structure my CSS for scalability and maintainability?
- Should I consider using
rem
orem
instead of fixed pixel values?
-
Accessibility Improvements:
- Are my
role
attributes correctly assigned, or should I use more semantic elements? - Would adding ARIA attributes improve accessibility for screen readers?
- Are my
-
Alternative Layout Strategies:
- Would CSS Grid be a better approach for structuring the profile card?
- How can I improve responsiveness without relying too much on media queries?
I appreciate any suggestions or feedback to refine this project further! 🚀🎨
P@r0b3rtcode020Posted about 2 months agoYour solution is very good, congratulations. Just a small tip for your media queries: instead of using (max-width: 375px) for example, you could use (width <= 375) which I consider easier to read and understand. I’m referring to the structure because, for instance, if you had the following: @media(min-width: 376px) and (max-width: 767px) {...}, you could instead use: @media(375px < width < 768px) {...}
0 - Enhance accessibility by ensuring correct
- @BOH-DZOMOSubmitted 2 months agoP@r0b3rtcode020Posted 2 months ago
Your solution is good, but you missed making it responsive for small screens. Here's a tip to make the typography responsive without using media queries: you can use the clamp() property. It needs three values to work: clamp(minimum value, preferred value, maximum value).
0 - @Claude20022002Submitted 3 months agoP@r0b3rtcode020Posted 2 months ago
You should start using a more semantic HTML structure to familiarize yourself with semantic tags. You could also separate the CSS from the HTML into different files, mainly to get used to working that way. You could use a design tool or even "paint" to try to get the dimensions of the components and negative spaces to make them look more like the original design. Anyway, all I mentioned is achieved with practice, a couple of projects and you will get used to working that way. Good luck mate.
1