Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
17
Comments
1

Salah Najem

@Salah1221Lebanon / Tripoli350 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...

ReactJS

Latest solutions

  • Launch Countdown Timer Solution (with card flip animation)

    #react#vite

    Salah Najem•350
    Submitted 11 months ago

    1 comment
  • E-commerce Produce Page with Dark mode


    Salah Najem•350
    Submitted 12 months ago

    The trick that I've used in my project for the dark/light switching animation depends solely on mix-blend-mode: difference, so I needed to invert most of the colors in the website. Would that impose a problem if used in a real-world project?


    2 comments
  • Responsive Space Tourism website using ReactJS

    #react#react-router#vite#motion

    Salah Najem•350
    Submitted almost 2 years ago

    3 comments
  • Interactive card details form solution


    Salah Najem•350
    Submitted almost 2 years ago

    0 comments
  • Multi-step Form solution using React

    #react#vite#react-router

    Salah Najem•350
    Submitted over 2 years ago

    0 comments
  • A solution for the Product Preview Card Component Challenge


    Salah Najem•350
    Submitted almost 3 years ago

    1 comment
View more solutions

Latest comments

  • Rian Julianto•110
    @Rianjulian
    Submitted about 3 years ago

    NFT Card with Less CSS

    #less
    1
    Salah Najem•350
    @Salah1221
    Posted about 3 years ago

    Hi Rian, You did a great job in your solution, but I noticed some improvements that can be made:

    1. You can remove the annoying space below the image by adding display: block; to .cypto.
    2. Add white-space: nowrap; to the h2 headings of .time and .price to keep them on the same line.
    3. Add position: absolute; to .attribution to remove it from the document normal flow so it can be positioned easily with respect to the body without interfering with the card.
    4. Center the card in the body using flexbox, before doing that the body should have the full height of the view port (give height: 100vh; to the body).
    5. After centering the card you can remove the margin, margin-top, and margin-bottom properties from the .container div so the card would be perfectly centered. And that's it! Happy coding!
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