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

Order Summary Card - jpt

Jeck 1,080

@j-tomajin

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I still don't know what is what in box-shadow's value, what's the first, second, third and forth value does (0, 0, 0, 0), I only play the value to get that box-shadow and I don't have any idea xD. And about the :focus-visible why only the :focus worked for me. Thank you in advance!

Community feedback

Adriano 33,980

@AdrianoEscarabote

Posted

Hi AsukalDePapa, how are you?

I really liked the result of your project, but I have some tips that I think you will enjoy:

To prevent the background image from breaking at higher resolutions, we can prevent this in two different ways:

  1. Add a background-repeat: repeat-x;, the image will repeat on the horizontal axis, preventing it from breaking.

  2. Add a background-size: 100% 50vmin;, the 50vmin will set its height as the page target, and 100% will make it stretch on the horizontal axis.

Feel free to choose one of the two!

To improve the structure of your code, wrap the div.attribution with the footer tag

The rest is great!

I hope it helps... 👍

Marked as helpful

0

Jeck 1,080

@j-tomajin

Posted

@AdrianoEscarabote Thankyou! I really don't have any idea how background-images works.

1
lr6kidy 280

@lr6kidy

Posted

So, for box-shadow: 1px 5px 10px red; 1px is the width of the shadow horizontally, 5px its height vertically, 10px is the bluriness of the shadow (the lowest you go, the more blocky it is), and obviously, red is its color.

Just copy " box-shadow: 1px 5px 10px red; ", play with the values for a while, and you'll get the basics. You can add to this later on, there are a lot of ressources around for you to do so!

Marked as helpful

0

Jeck 1,080

@j-tomajin

Posted

@lr6kidy I do understand it now. and probably apply it in every single project I'm working. Thank you!

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