Design comparison
Solution retrospective
I am proud that I could achieve the design, even though I thought of giving up along the line. I will definitely try to work harder and smarter next time.
What challenges did you encounter, and how did you overcome them?I had a really hard time importing the font styles, I have used all the methods I know how but to no avail. Finally I decided to just embed the code from google fonts, and it worked!!!
What specific areas of your project would you like help with?I will really like help with responsiveness of my page, even though I have started getting the hang of it.
Community feedback
- @Gunal-kPosted 7 months ago
Your HTML code for the recipe page looks well-structured and organized. Here's a review of the code:
-
Semantic HTML: You've used semantic HTML elements such as
<section>
,<h1>
,<h2>
,<p>
,<ul>
,<li>
, and<table>
, which enhances the accessibility and readability of the page. -
Accessibility: You've added the
alt
attribute to the<img>
element, which is important for screen readers and improves accessibility for users with disabilities. You've also used therole
attribute appropriately to define the roles of different sections. -
Content Structure: The content is well-structured into sections such as "Ingredients", "Instructions", and "Nutrition", which makes it easy for users to navigate and understand.
-
Styling: You've included some inline styles and linked an external stylesheet (
style.css
) for additional styling. It's good practice to separate CSS styles from HTML for better maintainability and organization. -
Improvements:
- Consider removing unnecessary line breaks (
<br>
) to improve the flow of content. - Ensure consistent indentation for better readability of the code.
- Review the CSS styles and ensure consistency in styling throughout the page.
- Test the page on different devices and screen sizes to ensure it's responsive and displays correctly.
- Consider removing unnecessary line breaks (
Overall, your HTML code provides a solid foundation for a recipe page. Keep up the good work, and feel free to make any adjustments or enhancements based on your preferences and project requirements!
Marked as helpful0 -
- @maryam-damagumPosted 7 months ago
Than you so much. I really appreciate your feedback.
0
Please log in to post a comment
Log in with GitHubJoin 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