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

Shalom2935

@Shalom2935420 points

Recently start my journey to become a front-end developer. I have a passion for bringing designs to life through engaging animations. Excited to continue growing my skills with tools like GSAP and Three.js to create immersive and interactive experiences on the web.

I’m currently learning...

HTML CSS JS Sass Gsap Three.js

Latest solutions

  • Bookmark-landing-page, scss mobile-first workflow and gsap

    #sass/scss#gsap

    Shalom2935•420
    Submitted about 2 years ago

    0 comments
  • Responsive age calculator app


    Shalom2935•420
    Submitted about 2 years ago

    0 comments
  • Advice generator app


    Shalom2935•420
    Submitted over 2 years ago

    0 comments
  • Fylo dark theme - Fully responsive with a light theme


    Shalom2935•420
    Submitted over 2 years ago

    0 comments
  • four-card-feature with flexbox and css grid


    Shalom2935•420
    Submitted over 2 years ago

    0 comments
  • Responsive landing page using css flexbox


    Shalom2935•420
    Submitted over 2 years ago

    0 comments
View more solutions

Latest comments

  • Taylor•90
    @taylorkondrla
    Submitted about 2 years ago

    Interactive Rating Component Using HTML, CSS, JS

    1
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    you must use semantics markups to make your site more accessible.

    Marked as helpful
  • luubelmiro•90
    @LUANABELMIRO
    Submitted about 2 years ago

    Componente de resumo com HTML e CSS

    1
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    hello well done completing this challenge. I think those tips might help you improve your code:

    • this is the magic formula whenever you want to center a div whether it is horizontally or vertically:
    body {
    display: flex;
    justify-content: center;
    align-items: center;
    }
    

    the margin you gave will prevent the site from being responsive.

    • giving your main element a max-width is great but it is for no use if you don't add a width property.
    main{
    width:80%;
    max-width:416px;
    }
    

    Hope my comment will be useful, happy coding.

  • Dan McGrath•10
    @Dan-McGrath
    Submitted about 2 years ago

    QR Component using SCSS

    #sass/scss
    3
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    100% didn't work because you gave your image a margin. Whatever this is a better way to make an image responsive.

    1. give the image a 100% width and DON'T SET ITS HEIGHT!!!
    2. give its container the wanted width and a height that adjust automatically (auto) in your case you should have something like this:
    .qr-img {
    width:100%;
    height:auto;
    }
    .qr-img img{
    width:100%;
    }
    
    Marked as helpful
  • Dev Truce•230
    @DevTruce
    Submitted about 2 years ago

    Four Card Feature [HTML, CSS, SASS, Flexbox, CSS Grid]

    1
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    Great job. I like your minimal file's structure. Regarding your respond mixin, this is a tip that will help you have a shorter and very cleaner code.

    • To begin with, don't name your breakpoints after the device's name but use something more general. Nowadays, phones can be bigger than tablets and tablets can be bigger than some tinny computers so it could be very confusing. you can have:
    1. desktop -> large
    2. tablet -> medium
    3. phone -> small
    4. small-phone -> smaller
    5. vs-phone -> verysmall
    • Then you can use the following code instead of all those conditions:
    $breakpoints: (
    'verysmall': (max-width: 390px),
    'smaller': (max-width: 520px),
    'small': (max-width: 830px),
    'medium': (max-width: 1200px),
    'large': (max-width: 1400px),
    );
    
    @mixin respond($breakpoint){
       @media (map.get($breakpoints,$breakpoint)){
             @content;
       }
    }
    

    see it does the same thing your code did, and the inclusion is alike.

    @include respond('large'){
    width:90%;
    }
    
    Marked as helpful
  • ashleyftw•120
    @ashleyftw
    Submitted about 2 years ago

    responsive page using SASS

    1
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    If you want a good organization i'd like to suggest the 7-1 pattern which will make you codebase very clean and easy maintainable. check it here

  • Purva Sharma•10
    @purvasharmadev
    Submitted about 2 years ago

    QR code component with css

    1
    Shalom2935•420
    @Shalom2935
    Posted about 2 years ago

    Good job I really like the way your code is structured.

    • Wrap all the code inside the body with a main element. By using landmarks you improve the code accessibility.
    • You don't need to give the body a max-width of 1440px, on the contrary this can become an issue for the responsive. Instead, a width: 100vw will ensure that the body will take all the width avaible on the viewport.
    • To make an image responsive, don't set its height!!! give it 100% width and give its container the width you'd want your image to have and a height set to auto.

    Hope my comments are helpful. HAPPY CODING

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