Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
3
Mateusz
@userMatMik

All comments

  • Zinah•420
    @Zinah-Zwayen
    Submitted almost 3 years ago

    article-preview-component-master

    1
    Mateusz•180
    @userMatMik
    Posted almost 3 years ago

    Hi, you just over complicate this. To display/hide this share overlay you just need to add and remove class active to .clicked-profile div. The best solution to add and remove class is toggle. Your code should look like this :

    document.querySelector('.share-img').addEventListener('click', () => { document.querySelector('.clicked-profile').classList.toggle('active'); })

    Hope this solution will be helpful.

    Marked as helpful
  • polukarp•190
    @polukarp
    Submitted almost 3 years ago

    Responsive NFT Card Component Using Flexbox

    #sass/scss
    4
    Mateusz•180
    @userMatMik
    Posted almost 3 years ago

    Hi, I checked your code and you are using pseudo-elements ::before to display icons so if you want to align them you must set position: relative to parent element and position: absolute to ::before element. So for example it should look like this:

    .card__price { position: relative; margin-left: 20px; }

    .card__price::before { position: absolute; left: -20px; top: 1px; }

    .card__date { position: relative; }

    .card__date::before { left: -25px; top: 2px; }

    Hope it helps you.

    Marked as helpful
  • Shaqeeb Akhtar•160
    @shaqeebakhtar
    Submitted almost 3 years ago

    Manage Landing Page

    #accessibility#vite#bem
    1
    Mateusz•180
    @userMatMik
    Posted almost 3 years ago

    You forget to remove bullets from li elements on footer (social links and site navigation).

    Besides of that you made a great solution.

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