Latest solutions
Social-links-profile
PSubmitted 11 months agoWould love to hear improvement suggestions on block organisation, specifically links type of. I always feel like flex for such cases are overkill
Latest comments
- @PrajulJaggi577P@abm-software
👍 What’s Great:
Clean Structure: Your HTML is organized with clear sections for the avatar, title, description, and links. Flexbox Usage: You’re using Flexbox to center elements, which is a solid approach for alignment. CSS Variables: Good use of CSS variables for consistent color management.
🔧 Areas to Improve:
1.CSS Variable Naming: • Use lowercase and hyphens: It’s a common convention for readability. • Example:
:root { --green: hsl(75, 94%, 57%); --white: hsl(0, 0%, 100%); --grey-700: hsl(0, 0%, 20%); --grey-800: hsl(0, 0%, 12%); --grey-900: hsl(0, 0%, 8%); }
2.CSS Syntax: • Avoid Nested Selectors: The &:hover syntax is for preprocessors like SCSS, not plain CSS. • Fix Hover Styles:
.link:hover { background-color: var(--green); color: var(--grey-700); }
Marked as helpful - @DanniJK1What are you most proud of, and what would you do differently next time?
I am most proud of how close my final solution looked in comparison to the initial challenge design.
What challenges did you encounter, and how did you overcome them?I encountered the challenge of not knowing how to properly use CSS in some cases to make the elements look or behave a certain way. I overcame this by using websites like w3schools.com to look up some aspects of CSS.
P@abm-softwareLooks good! Tips to improve:
- Try to focus more on semantic tags, read about them and understand how to use them properly
- Proper naming for classes/ids to describe what is the component you are working on, like "card-container, card__qr-code, card__description". With such approach it would be much easier to understand which part of component you are working on the bigger project.
- You used ids to style components, which bring incosistency. While styling your components use classes. I would suggest to use ids for some specific cases when you want to style exact component, not a group of, and also for javascript manipulation.