Skip to content

Welcome to the Simple Omelette Recipe Page Challenge! This repository contains the solution to a frontend development challenge that focuses on creating a recipe page for a classic omelette. The goal of this challenge is to practice and demonstrate skills in writing semantic HTML and creating a responsive design.

Notifications You must be signed in to change notification settings

Yashi-Singh-1/Recipe-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Recipe Page Solution

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

Welcome to the Simple Omelette Recipe Page Challenge! This repository contains the solution to a frontend development challenge that focuses on creating a recipe page for a classic omelette. The goal of this challenge is to practice and demonstrate skills in writing semantic HTML and creating a responsive design.

Topics

Resources

Stars

Watchers

Forks