
Recipe page - Using HTM, CSS( TailwindCSS)
Design comparison
Solution retrospective
I’m proud of the clean and structured layout using Tailwind CSS. The responsive design adapts well, and the typography choices enhance readability. The use of before:content for list numbering is also a neat touch.I would improve accessibility by using semantic HTML elements like <ol> for ordered lists instead of before:content. Additionally, optimizing image sizes and adding alt text for better SEO and performance would be beneficial.
What challenges did you encounter, and how did you overcome them?Spacing and Alignment Issues: Initially, list items and sections lacked consistent spacing. Solution: Used my-4, leading-relaxed, and pl-4 to ensure proper spacing.
Custom Numbering for Instructions: Default ordered lists didn’t match the desired style. Solution: Used before:content-['1.'] and similar styles to manually number steps.
Responsive Design Adjustments: The layout needed to work on smaller screens. Solution: Used max-[380px]:px-6 and min-[380px]:p-6 for flexible padding.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @TruAmakku
nice!
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