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

HTML & CSS Recipe Page

jpcardozx 100

@jpcardozx

Desktop design screenshot for the Recipe page 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?

I am most proud of how well-structured and visually appealing the recipe page turned out. The clear organization of the content, from the preparation time and ingredients to the detailed instructions and nutritional information, ensures that users can easily follow the recipe. Additionally, the integration of custom fonts and high-quality images adds a professional touch to the overall design. I'm particularly pleased with the use of semantic HTML elements, which enhances the accessibility and readability of the page.

Next time, I would focus on further enhancing the responsiveness of the webpage to ensure it looks great on all device sizes. I would also consider adding interactive elements, such as a video tutorial or a step-by-step image carousel, to make the recipe more engaging. Additionally, I would implement JavaScript to allow users to customize the recipe by adjusting the number of servings, which would dynamically update the ingredient quantities. Finally, I would work on optimizing the page's load time by using techniques like lazy loading for images and minimizing the use of external resources.

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

One of the main challenges I encountered was ensuring that the webpage was both visually appealing and fully responsive across different devices and screen sizes. Initially, some elements did not align correctly on smaller screens. To overcome this, I used CSS media queries to adjust the layout and font sizes, ensuring that the content remained readable and well-organized on mobile devices.

Another challenge was incorporating custom fonts from Google Fonts. There was a noticeable delay in loading the fonts, which affected the initial rendering of the page. I resolved this by preconnecting to the Google Fonts resource using the tag, which helped speed up the font loading process.

Additionally, managing the file paths for images and external resources posed a problem, especially when switching between different development environments. To address this, I standardized the folder structure and used relative paths to ensure that all assets were correctly linked, regardless of the environment.

Finally, writing clear and concise instructions while keeping the language simple was a bit challenging. I iterated over the text multiple times, simplifying the language and ensuring that each step was easy to follow for users of all cooking skill levels.

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

While I have implemented some basic responsive design techniques, I would like to further refine the responsiveness of the webpage, especially for smaller screens and tablets. Any advice on best practices for achieving a more fluid and adaptive layout would be valuable.

I want to enhance the visual appeal of the webpage. Suggestions on advanced CSS techniques, such as CSS Grid or Flexbox for better layout control, and tips on creating more sophisticated visual effects (e.g., transitions, animations) would be helpful.

Community feedback

@Yashi-Singh-1

Posted

  1. After ingredients and instruction there should a line you can add <hr> tag after your ingredients and instructions in your html code.

  2. Footer should be displayed after or outside main section.

  3. use <ol> tag for number in instructions instead of <ul> it will display numbers. [<ol> is used for number, etc. and <ul> is for bullets etc]

  4. You can add :not(:last-child) selector in your css for not displaying the last line that is after fat

0

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