Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Your session has expired please log in again.
Your session has expired please log in again.
Your session has expired please log in again.
Your session has expired please log in again.
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

css grid and flexbox

Sachin 830

@Sachin-Mahato

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

  • The section element is being used incorrectly ⚠️ and not needed for this challenge .
  • The button was created with the incorrect element ❌. When users click on the button they should directed to a different part of your site; the anchor element will allow this to happen.

More Info:📚

MDN The Anchor element

  • This is a great challenge to practice using CSS Grid ⚠️ If you are not comfortable using it, here is a link that is all about how to use CSS Grid:

https://css-tricks.com/snippets/css/complete-guide-grid/

  • For improved accessibility 📈 for your content, it is best practice to use em ✅ for media-queries. Using this unit gives users the ability to scale elements up and down, relative to a set value.

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding! 🎆🎊🪅

Marked as helpful

0

Sachin 830

@Sachin-Mahato

Posted

@vcarames how to write HTML without using any div?

0

@VCarames

Posted

@Sachin0000000

That’s impossible. div are fundamental in web development.

0
Sachin 830

@Sachin-Mahato

Posted

@vcarames when to use systematic HTML?

0

@VCarames

Posted

@Sachin0000000

You will always use semantic HTML elements and div are part of it. As a developer, it it is your responsibility to know when the proper elements are needed for your builds.

For example, navigation elements will always use a nav. Your main content will always be wrapped inside a main element. And so on.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element

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