8000 GitHub - Jomagene/Recipice-page: Stylish and Responsive Recipe Page
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Jomagene/Recipice-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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

Screenshot

Screenshot of the recipe page

Links

My Process

Built With

  • Semantic HTML5 markup
  • CSS custom properties (e.g., @font-face, CSS variables, utility classes)
  • Flexbox
  • Mobile-first workflow with media queries

What I Learned

In this project, I gained a deeper understanding of the following concepts:

  • Font Integration: Learned how to use @font-face with font-display: swap for better web performance.
  • Custom List Markers: Implemented personalized list markers using the ::before pseudo-element in CSS.

Here's a sample of code I'm proud of:

<figure class="image-container">
  <img
    src="./assets/images/image-omelette.jpeg"
    alt="Simple Omelette"
    class="h-full" />
</figure>
@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Young Serif";
  src: url("./assets/fonts/young-serif/YoungSerif-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}

ul {
  padding-bottom: 25px;
  list-style-type: none;
}

ul li::before {
  content: ". ";
  color: var(--rose-800);
  margin-right: 20px;
  font-weight: 600;
}

Continued Development

In future projects, I plan to:

  • Improve accessibility features, such as ARIA roles and more semantic HTML.

Useful Resources

  • MDN Web Docs - A comprehensive resource that helped me better understand @font-face and CSS custom properties.
  • CSS-Tricks - This site provided useful tips on how to improve the layout using Flexbox and media queries.

Author

Acknowledgments

I would like to thank the Frontend Mentor community for providing feedback and suggestions that helped me refine our skills.

About

Stylish and Responsive Recipe Page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0