Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
13
Comments
6

Umer Khokhar

@Umer-Khokhar250 points

👋 I strive to enhance my skills and create captivating user experiences. Passionate about crafting beautiful and functional interfaces, I am dedicated to staying updated with the latest industry trends. With a strong foundation in HTML, CSS, and JavaScript.✨

I’m currently learning...

📌 ReactJS

Latest solutions

  • Interactive Comment Section

    #accessibility#sass/scss

    Umer Khokhar•250
    Submitted 6 months ago

    I need help to add data to the localstorage as it is complex DOM implementations, I am not able to apply localstorage.


    0 comments
  • E-commerce product page


    Umer Khokhar•250
    Submitted about 1 year ago

    It helps me to understand more es6 modules, how to make reuseable functions (as reactjs help me in this).


    0 comments
  • Newsletter sign up form with success message


    Umer Khokhar•250
    Submitted over 1 year ago

    1 comment
  • Huddle Landing page with SCSS

    #sass/scss

    Umer Khokhar•250
    Submitted over 1 year ago

    1 comment
  • Social media dashboard with theme switcher


    Umer Khokhar•250
    Submitted almost 2 years ago

    0 comments
  • Profile Card Component


    Umer Khokhar•250
    Submitted about 2 years ago

    0 comments
View more solutions

Latest comments

  • Miłosz Jan Łoniewski•840
    @Loniewski02
    Submitted about 2 years ago

    HTML, SASS nft card

    #accessibility#bem#sass/scss#gulp
    1
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    Great Work💯

  • Miłosz Jan Łoniewski•840
    @Loniewski02
    Submitted about 2 years ago

    Planets fact site v2

    #accessibility#bem#gsap#sass/scss
    1
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    Amazing Work @Loniewski02 👏

  • Lunea•30
    @Luneaa
    Submitted about 2 years ago

    Qr code component

    #sass/scss
    2
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    Hi @Luneaa,

    Your code looks like very good. I have some recommmendation for you to write better code,

    Tip 1: If you want to centered items both horizontally and vertically by flexbox you should set height to 100%

    Tip 2: On cards, always use max width property instead of width only or you can use % if possibe (not in this case) and avoid setting fixed height on cards this will create problems when you are working with the bigger projects to make them responsive

    Tip 3: On card (in this case) if you need to give img full width of as card use % like the

    img {

    width: 100%: (or what ever you want)

    }

    This will make your image resposive don't use px on img because when you reach the maximum width you set on img (in your case 288px) cause problems and you need to do some extra work

    I hope this will help you!

    Happy coding 😊

    Marked as helpful
  • Mishael Joseph•210
    @Mishael-Joe
    Submitted about 2 years ago

    QR code component

    3
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    Hi there👋,

    Always use flexbox to center items (in your case card)

    .card {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    }

    One thing more that in media quries don;t set width of img tag set the width to the whole container,

    As you set the max-width to image your design looks bad in mobile devices

    @media(max-width: 370px) {

    .card {
    
        width: 200px;
    }
    

    In the card case,Never use media quries as set width of card mobile first so

    You should not need any quries I hope this will help you 😊

    Marked as helpful
  • Alger Tita Jean Bajo•10
    @AlgerTitaJean
    Submitted about 2 years ago

    QR code component using Transform and Positioning

    #accessibility
    3
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    @AlgerTitaJean Hi there,

    Your design looks so so good!. But there are some suggestions for better code

    1. Always use flexbox to center items (Your design did not look good on mobile devices)
    2. Using position: absolute; cause problems when you working on large or complex web pages (May overlap content)
  • Aghla Abdo•340
    @AghlaAbdo
    Submitted about 2 years ago

    QR code component

    #bootstrap
    1
    Umer Khokhar•250
    @Umer-Khokhar
    Posted about 2 years ago

    Hi there, You should add some of the padding of top, bottom to the container because spacing in such cards made our designs attractive. One thing more that it is always a good to add lighter colors text for the cards i.e. gray, balck bluish, bluish gray etc. Otherwise, you code and design looks pretty good. Good Luck for your coding Journey 😊

    Marked as helpful
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