Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Single price grid component using html and css only

AbdulRhmanβ€’ 270

@Abdo-al-R

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello this is my solution for this challenge , any suggestions ?

Community feedback

Nikola Dβ€’ 1,450

@NikolaD93

Posted

Well done my friend, just keep on practicing and improving your skills. πŸ‘ŒπŸ‘Œ

Try to do some harder challenges, you've mastered newbie 😁😁✌

Marked as helpful

1

AbdulRhmanβ€’ 270

@Abdo-al-R

Posted

@Nikola1232456 yes my friend i will just wanted to go by order , thanks alot

0
Alaminβ€’ 2,000

@CodePapa360

Posted

Hi AbdulRhmanπŸ‘‹ Great job on completing this challenge! πŸ₯³

Overall, your codes looks very well-structured and organized. It's great to see the use of semantic HTML tags such as h2, h3, and p to clearly convey the hierarchy and meaning of the content on the page. The use of class names like "div-1", "div-2", and "div-3" also helps to clearly identify the purpose of each element and make the code easier to understand.

One small suggestion for improving the code would be to consider using CSS custom properties (formerly known as CSS variables) to store values that are used in multiple places throughout the stylesheet. For example, instead of hardcoding the value of "rgba(0, 0, 0, 0.16)" in the box-shadow property of the main element, you could define a custom property like --main-box-shadow and use it in the box-shadow property like this:

:root {
  --main-box-shadow: rgba(0, 0, 0, 0.16);
}

main {
  box-shadow: var(--main-box-shadow) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

This would make it easier to make changes to the box-shadow in the future, as you would only need to update the value of the custom property in one place rather than updating it in multiple places throughout the code.

Overall, great work on completing this challenge and producing clean, well-organized code! Great job!

I hope this feedback was helpful. 😊 Keep up the good work!πŸ‘

Marked as helpful

1

AbdulRhmanβ€’ 270

@Abdo-al-R

Posted

@CodePapa360 thanks my friend for the suggestion , i copied that box shadow from ather website https://getcssscan.com/css-box-shadow-examples for box shadows to make it easy ,but it was long code .. i will use your advise to make it easier , thanks alot

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