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

Product card component

@planeboom911

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I learned to build responsive layouts using grids. It was very interesting to start mobile first and adjust the grid to desktop.

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

I encountered some challenges of grids, encountered them through googling. also, there was the line-through not going through the center, for that this StackOverflow post helped

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

is it just me or everyone that uses this long css for a button ?

button {
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;

  outline: none;
  border: none;
  cursor: pointer;

  width: 100%;
  max-height: 3rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  column-gap: 0.5rem;
  
  background: var(--cyan-dark);
  color: white;
}
/* Also button:focus-within, button:hover, & button:active states */

Please tell me how to improve!

Suggestions and feedback are very much appreciated.

Community feedback

TifeTolex 50

@TifeTolex

Posted

niceee

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