Skip to content

Recipe Page Solution is a front-end web project that displays a recipe with a clean, responsive layout. It includes preparation time, ingredients, instructions, and nutritional values, all structured to meet the Frontend Mentor challenge. The design ensures compatibility across devices, providing a visually appealing and accessible user experience.

License

Notifications You must be signed in to change notification settings

Yashi-Singh-9/Recipe-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Recipe Page Solution

HTML5 CSS3 Flexbox Responsive Design Netlify Status Frontend Mentor Last Commit

This is a solution to the Recipe Page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the recipe page with a clean and responsive design
  • See the preparation time, ingredients, instructions, and nutritional values clearly
  • View an image of the dish

Screenshot

Desktop Preview

Mobile Preview

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

Working on this project helped me reinforce my understanding of:

  • CSS Custom Properties: Using variables for consistent styling across the project.
  • Flexbox: Aligning and distributing space among items in a container.
  • Responsive Design: Ensuring the layout adapts well to different screen sizes using media queries.

Code snippets I’m proud of:

<figure>
    <img src="images/image-omelette.jpeg" alt="A plate of served omelette with a golden-brown crust" role="img" aria-label="Served omelette">
</figure>
body {
    margin: 0;
    padding: 0;
    font-family: 'Young Serif', serif; 
    background-color: var(--stone-100);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    min-height: 100vh;
}
.instructions-steps li::before {
    content: counter(list-counter) ". ";
    color: hsl(14, 45%, 36%);
    position: absolute;
    left: -30px;
    top: 0;
    font-weight: 700;
}

Continued development

In future projects, I aim to:

  • Explore CSS Grid: For more complex layouts and design patterns.
  • Improve Accessibility: By testing and enhancing the accessibility features of the website.
  • Experiment with JavaScript: To add interactive elements and dynamic content.

Useful resources

Author

Acknowledgments

A special thank you to Frontend Mentor for providing this challenge. It was an excellent opportunity to enhance my skills and practice real-world web design techniques. Also, thanks to the Frontend Mentor community for their feedback and support throughout the development of this project. Lastly, a shout-out to MDN Web Docs for their comprehensive documentation and tutorials.

About

Recipe Page Solution is a front-end web project that displays a recipe with a clean, responsive layout. It includes preparation time, ingredients, instructions, and nutritional values, all structured to meet the Frontend Mentor challenge. The design ensures compatibility across devices, providing a visually appealing and accessible user experience.

Topics

Resources

License

Stars

Watchers

Forks