Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

recipe-page

P
vadims3103•80
@vadims3103
A solution to the Recipe page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Used semantic tags for HTML structure, hopefully in the right way.

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

The most challenging in this project for me was lists with bullets (numbers), and spacing between bullet and text. For now realised that there are several ways how to solve this and in plans to test different solutions for getting best result.

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

It would be nice if HTML structure would be checked is it not too complicated?

According variables in css, is it good to name color with color name?

:root {
  --white: #FFFFFF;
}

It is easy to understand what colors hides under the variable, but if in future we will decide that all elements that are now are white should be green. We cannot rewrite it as:

:root {
  --white: #33d47c;
}

The only way is to create a new variable --green and rewrite from --white to --green.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on vadims3103's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License