Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
23
Comments
19
Juan Bonilla
@juanpb96

All comments

  • Daniel Dekany•920
    @dknyd
    Submitted over 2 years ago

    Basic layout with some JS

    1
    Juan Bonilla•610
    @juanpb96
    Posted over 2 years ago

    Hi Daniel, good job on your solution!

    I was looking at you code and I see you can do some fixes. You should consider the use of position: relative; in your #inputContainer or changing the layout of your input just a bit. I think you can use #inputContainer with display: flex; and place the button and icon better. The border could be moved to the container, so you can adjust styles in an easy way.

    Hope it helps!

    Marked as helpful
  • Sourav Mehra•20
    @mehra-sourav
    Submitted about 3 years ago

    Responsive QR Component using Flexbox

    2
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hey Sourav 👋

    Good job on this one!

    I think I can help you with your questions and include additional comments:

    • It is good to define width in your .class and you should change it according to what you want with media queries. I recommend starting with a mobile-first approach.
    • You can use different tags to provide a more sematic HTML structure in your code. For example, your <div class="attribution"> should be <footer class="attribution"> or <div class="card"> could be <main class="card">.

    I think it is not a personal preference in general. If you use tags properly, your site increases in accessibility and best practices. You can take a look at HTML reference as it has helped me when I wonder about tags.

    Hope this can be useful for you 😃

    Marked as helpful
  • Harsh Raghuwanshi•20
    @harsha094
    Submitted about 3 years ago

    Order Summary Card using HTML/CSS

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Harsh 👋

    Your solution looks great! 👍

    I think you can consider some points to improve your project:

    • You can improve you HTML structure by including more semantic tags. For example, your <div class="main"> could be <main>.
    • The background is disappearing in desktop screens, have you added the correct image path?
    • Card spacing is too small, maybe you can check your styles and add some padding 🤔
    • Try to use CSS pseudo elements (::before or ::after) to avoid unnecessary HTML elements such as <div class="bg_image">

    Hope this can help 😃

  • Kim•510
    @Mismisty
    Submitted about 3 years ago

    Social-Proof with Flexbox

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hey Kim! 👋

    Your solution looks good! 🥳

    I have some tips for you to improve your project:

    • I think you can change your div class="attribution" to footer class="attribution" this way you add a more semantic tag in your HTML 😉
    • I'm not sure why you used display: flex in your body but this is causing two columns, so the layout looks a bit weird.
    • Stars in .review are using inline styles, I consider you can include a class or play with selectors to easily add the margin that you need. Maybe something like .review > img { margin-right: 9px } could work.

    Hope this helps! 😃

    Marked as helpful
  • Marina•70
    @hellomarina
    Submitted about 3 years ago

    Order Summary Challenge

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Marina! 👋

    Congrats on your solution! 🙌

    I've seen some things that you can do to improve your project:

    • In your 'Proceed to Payment' button: You could increase its font-weight and make it use the same font-family as it is taking the default from browser styles. Also, include cursor: pointer so the user will know that this button is clickable.
    • Try not to use <br> and play with margin instead 😋
    • Adding hover states for links and buttons could be awesome 😎

    Hope you find this useful!

    Marked as helpful
  • Staniuu•260
    @St4niuu
    Submitted about 3 years ago

    3-column-site built with REACT and SCSS

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Staniuu! 👋

    Good job in this one! 😃 I was looking at your solution vs the design and I found out few things you can do to improve your project:

    • You could add a gray background color
    • Are you using the correct font for your card titles? And don't forget to make them uppercase 😉
    • Try including border-radius in the first and third card
    • Learn more buttons could have more padding on the left and right sides

    Hope this helps!

    Marked as helpful
  • Kapline•140
    @TrueKapline
    Submitted about 3 years ago

    Flexbox QR Code Component

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hey Kapline 👋

    Your solution looks great! 😎... I've read this article Pixels vs Rem. It explains very clearly the difference and when to use each one. Hope you find it useful to solve your doubts!

  • Carlos Damian Perez•1,930
    @caarlosdamian
    Submitted about 3 years ago

    Typescript react + Rtk query + Scss Application

    #redux#redux-toolkit#sass/scss#typescript
    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Carlos 👋

    Good job on this one! 💪. I noticed that you implemented all the info in your icons as a link, that is what it looks like when you hover over them 🤔. Try to remove hover styles when there is no data available and apply opacity to your text as you did with the icon. Another thing I saw is that links for user blog, twitter and company aren't working as expected.

  • Nigel•100
    @nigelvidaaal
    Submitted about 3 years ago

    Base apparel coming soon page

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Nigel 👋

    Your solution is great! I've noticed that you are positioning your button with percentages and that causes a weird behaviour when someone sees your page in a large screen. I would recommend moving your button inside .form-box and using display: inline-block in your .button (I wonder why you added that additional div 🤔). Then, you can try fixing sizes and position values to make it look as the design.

  • Jasper•40
    @Jasper-Ik
    Submitted about 3 years ago

    QR code site using margin for layout

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Jasper 👋

    Good job on your solution! 👍... As you want to use flex to center your content I will give you one idea for you to try.

    In your body set width to 100% and height to 100vh, this takes the total size of the screen (set margin to 0, just to prevent horizontal scrolling). Then, add display: flex and flex-flow: column to keep the layout that you want. To centralize your content use justify-content: center and align-items: center, this will do the magic 🧙. Finally, remove margin in your .container class.

    Another thing I saw is that you have 'Document' as your page title.

  • andrytoni•10
    @andrytoni
    Submitted about 3 years ago

    QR Code Component using CSS basics - final version

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi @andrytoni 👋 Good job in your solution!

    If you want to improve your project by centering your div differently, I would recommend checking this example: How to center a div with transform

  • Gabriel Francisco•130
    @gab9244
    Submitted about 3 years ago

    So i used HTML and CSS for make this layout.

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 3 years ago

    Hi Gabriel 👋.

    Good job on your solution! I think you can solve your problem centralizing your content differently. Have you tried grid? ... If you want to, add a new parent container for your main content (or using your body tag works too). This new element should take 100% width and 100vh heigth. Lastly, add place-items: center and that should do the work. Don't forget to remove those margins to avoid horizontal scrolling 😉

    Marked as helpful
  • Rodrigo Vergara•680
    @UnTalPeluca
    Submitted about 4 years ago

    Stats Preview Card Component

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Hi 👋

    Good job on your solution! 👌

    If you want to apply color to your image, try this: background-blend-mode in your .card-image class.

    On the other hand, I think you should remove the media query @media screen and (min-width:375px) as you want to work mobile-first.

    Happy coding! 😄

    Marked as helpful
  • Tomiwa Orimoloye•1,010
    @tomiwaorimoloye
    Submitted about 4 years ago

    Flexbox

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Hi Tomiwa.

    Good job on you solution 🙌.

    I have a suggestion for you:

    • You can add a span to your anchor tag for social media icons. This is a way to put text there and give screen readers the possibility to know the meaning of the icon and increase your accessibility score.
    • If you want to do what I suggested above, then you will need to implement a class that hides that text from the design, I recommend this:
    .sr-only {
        width: 1px;
        height: 1px;
        position: absolute;
        margin: -1px;
        padding: 0;
        overflow: hidden;
    }
    

    Hope that helps. Happy coding! 🥳

    Marked as helpful
  • Yuko Horita•645
    @Sloth247
    Submitted about 4 years ago

    Email register website with validation

    4
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Hi @Sloth247

    Good job on your solution 👍

    To help you with your questions I consider:

    • Hover works for buttons but you are having a problem with a background property that is not working, try using opacity and you will see the change on hover. So, please review your background property 👁️‍🗨️
    • You can use backgroud-repeat: no-repeat. However, I can't understand your question pretty well.
    • Did you use form.addEventListener('submit', function(){})?

    Hope my suggestions could help you. 🙌

    Happy coding!

    Marked as helpful
  • Roger Dummer•50
    @rogerdummer
    Submitted about 4 years ago

    Preview Card

    2
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Hello Roger Dummer!

    Great job on your challenge 🙌, I have some suggestion for you:

    • Review your media queries, in my opinion, you can use dev tools to look what could be a better breakpoint to start changing your layout (I consider 1100 or 1200 px).
    • Play with the font-size through media queries breakpoints.
    • Your container is maybe too wide, you can include the max-width property to solve it. This could help if someone is watching your page on a tablet.

    Everything else looks good!

    Happy coding 😄

  • Aaron Gonzalez•445
    @aaronpaulgz
    Submitted about 4 years ago

    Frontend Mentor | Stats preview card component

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Good job in your solution!!!

    It looks great for every view.

    Happy coding 😁

  • EH•10
    @eh-ins
    Submitted about 4 years ago

    Mobile first, BEM

    1
    Juan Bonilla•610
    @juanpb96
    Posted about 4 years ago

    Hey @eh-ins , good job on your solution!

    I have some suggestions for you:

    • You could try use height in your body tag and give it a value of 50rem for example, to give you your card a posibility to be more centered in the page.
    • When the size of the window is about 900px and you start reducing more this size, the content looks too compacted and it is difficult to read. In my opinion, you could include a media query in this point.

    Everything else seems great.

    Happy coding!

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

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

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

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

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

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

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

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

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

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

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

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

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

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