Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
28
Comments
16

Benja.min

@BenjaDotMinUK740 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

I’m currently learning...

Socket.IO, Flutter, React Native

Latest solutions

  • Vue 3, Webpack

    #vue#webpack#pinia

    Benja.min•740
    Submitted about 2 years ago

    0 comments
  • Browse videos app - React, SCSS

    #react#sass/scss#framer-motion

    Benja.min•740
    Submitted about 3 years ago

    1 comment
  • Countdown app

    #react

    Benja.min•740
    Submitted over 3 years ago

    2 comments
  • Tic Tac Toe Game

    #react

    Benja.min•740
    Submitted over 3 years ago

    2 comments
  • Next JS, SSR

    #next

    Benja.min•740
    Submitted over 3 years ago

    1 comment
  • LocalStorage, React, Sass

    #react#sass/scss

    Benja.min•740
    Submitted over 3 years ago

    2 comments
View more solutions

Latest comments

  • Naomi•30
    @naomidzunic
    Submitted almost 3 years ago

    Responsive Order Summary Page

    2
    Benja.min•740
    @BenjaDotMin
    Posted almost 3 years ago

    Hello Naomi! Apologies if I read this wrong, but we can very easily center your card, and remove the scrolling.

    On your .container tag, remove: margin: 25% auto 25% auto; (also the media query margin at 510). On your body tag add: display: grid; place-items: center; height: 100vh;

    And that should center things up nicely :) Great work, you have made the card itself very clean.

  • 👾 Ekaterine Mitagvaria 👾•7,860
    @catherineisonline
    Submitted over 3 years ago

    QR code component

    20
    Benja.min•740
    @BenjaDotMin
    Posted over 3 years ago

    Hello! I see you have very precise margins to centre your card. We could make this far simpler by removing these styles from .qr-container:

    • display flex
    • flex-direction
    • height (both of them)
    • margin
    • align items
    • margin-top (and the media query at 1020)
    • margin-bottom

    Then to your body tag add:

    • display: grid
    • place-items: center
    • height: 100vh

    That should centre your card with less code, but also remove the unrequired scrollbar on mobiles. Hope that helps!

    Marked as helpful
  • Rosi•440
    @strosi
    Submitted over 3 years ago

    Single column comming soon page (Sass, JS, mobile first)

    #sass/scss#accessibility
    1
    Benja.min•740
    @BenjaDotMin
    Posted over 3 years ago

    I really like what you did with the validation animation. Subtle but it really helps add quality. Would you mind if I suggested you add:

    • .notify__field{z-index:1;}

    That will stop your error text overlapping the input during animation, and look even better :)

    Good stuff :)

    Marked as helpful
  • Benja.min•740
    @BenjaDotMin
    Submitted over 3 years ago

    Tic Tac Toe Game

    #react
    2
    Benja.min•740
    @BenjaDotMin
    Posted over 3 years ago

    Apologies for the preview screen, I assume its something to do with lazy loading the components in react. Pop open the site and it should be fine!

  • Matthew Van Pelt•575
    @Mattvp21
    Submitted over 3 years ago

    Testimonials Grid using CSS grid

    2
    Benja.min•740
    @BenjaDotMin
    Posted over 3 years ago

    Hello there!

    You really do have a great grasp with grid, for your first attempt. Much better than I did!

    However, regarding your question:

    • To your body tag add: height:100vh; display: grid; place-items: center;
    • To your main tag add: max-width: 1440px;

    That should improve the size and positions. You can play around with values to match what you need.

    It wont make a difference, but consider the shorthand syntax for grid-template, to save yourself repeating values and make it easier to read.

    For example: grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr;

    Could simply become: grid-template: repeat(2, 1fr) / repeat(4, 1fr);

    Marked as helpful
  • Paras Sharma•700
    @imparassharma
    Submitted over 3 years ago

    Mobile First Approach (FLEXBOX + MEDIA QUERY+ Responsive Dimensions)

    1
    Benja.min•740
    @BenjaDotMin
    Posted over 3 years ago

    Hello Paras!

    The issue is when you hover over the thumbnails, they get an additional border, which changes the height of the parent div by an additional 2px, giving the visual stagger.

    To fix this I would:

    • on ".img-row img" add: border: 2px solid transparent; (so they always have a border)
    • on ".img-row img:hover" change your border style, to: border-color: hsl(26, 100%, 55%);

    Hope that helps!

    Marked as helpful
View more comments
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

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