Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Order summary component using Bootstrap

Stacey•30
@staceysav
A solution to the Order summary component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Feedback will be highly appreciated! While doing the project I had some difficulties; if you have answers to any of the questions below, please let me know :)

  • How to add waves to the background?
  • The shadow doesn't look as good as in the layout. Is there a change to do the same?
  • I tried to add margins to the "Order summary" line and the paragraph below it, but they didn't seem to work. Where to look to find the root of the problem?
Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Adriano•42,890
    @AdrianoEscarabote
    Posted over 2 years ago

    Hello Stacey, how are you?

    I really liked your project. Answering your question on how to put waves in the background:

    you can go to the body and put background-image: url(image);, after that you control it with some other resources like for example: background-repeat: no-repeat; background-size: 100% 50vmin; background-position: bottom;

    About boz-shadow's question, here's a very good site for you to make some really cool shadows click here

    the rest is very good hope it helps... 👍

    Marked as helpful
  • Eray•1,410
    @ErayBarslan
    Posted over 2 years ago

    Hey there, you can add background to body as:

    body {
        ...
        background-image: url(./images/pattern-background-desktop.svg);
        background-repeat: repeat-x;
        /* we can use repeat x for this specific image so that it supports wider screens*/
    }
    

    Try out box-shadow: 0 25px 20px hsl(225, 67%, 88%); which is what I've used on my solution.

    -Instead of <h4> you should be using <h1> for Order summary, each page requires a level one heading. You can style with css as you like. Also their level should change 1 by 1 so you can change <h6> to <h1>.

    • alt should have meaningful explanation. Instead of alt="..." you can use alt="dancing with music illustration" These are my suggestions to improve the solution. Happy coding :)
    Marked as helpful

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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub