Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
35
Comments
2

Omar

@to-my-learning-path560 points

Improving my front-end before moving to back-end.

Latest solutions

  • Calculator app solution

    #react#tailwind-css#typescript#vite

    Omar•560
    Submitted about 2 years ago

    3 comments
  • Social media dashboard with theme switcher solution

    #react#tailwind-css#typescript#vite

    Omar•560
    Submitted about 2 years ago

    0 comments
  • Age calculator app using React-Hook-Form

    #react#tailwind-css#vite#typescript

    Omar•560
    Submitted about 2 years ago

    1 comment
  • Results summary component solution

    #react#tailwind-css#typescript#vite

    Omar•560
    Submitted over 2 years ago

    0 comments
  • Notifications page solution

    #react#tailwind-css#typescript#vite

    Omar•560
    Submitted over 2 years ago

    0 comments
  • Time tracking dashboard solution

    #react#tailwind-css#typescript#vite

    Omar•560
    Submitted over 2 years ago

    0 comments
View more solutions

Latest comments

  • Yojan kaphle•70
    @yozan21
    Submitted over 2 years ago

    Simple CSS styling and positioning

    #styled-components
    2
    Omar•560
    @to-my-learning-path
    Posted over 2 years ago

    Flex will help centering the content. For example in your body class, add this:

    .body {
        width: 21%;
        background-color: hsl(0, 0%, 100%);
        padding: 1rem;
        border-radius: 5%;
    
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    

    Now you can apply the same to body element to center the whole card div.

  • dab•10
    @Deibethb
    Submitted over 2 years ago

    I used flexbox

    1
    Omar•560
    @to-my-learning-path
    Posted over 2 years ago

    Few suggestion:

    • Add descriptive text to the alt attribute of the images. Adding alternative text to images on your site is a principle of web accessibility. Learn More.
    • Use Picture element to display different images for different screen sizes. For example in your code:
    <picture>
        <source media="(max-width: 375px)"srcset="img/image-product-mobile.jpg"/>
        <img src="img/image-product-desktop.jpg" />
    </picture>
    
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