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

Jethier

@jCasiaEngland390 points

Hi there!👋 I'm an aspiring Web Developer who is working hard to improve my coding skills bit by bit everyday! Currently learning new tools and also taking the time in creating Frontend projects to practice!

I’m currently learning...

📌Node.js 📌Express.js 📌MongoDB

Latest solutions

  • Easybank Landing Page create using Vue

    #vue#tailwind-css

    Jethier•390
    Submitted over 1 year ago

    0 comments
  • E-commerce Product Page created using React, Typescript & TailwindCSS

    #react#typescript#tailwind-css

    Jethier•390
    Submitted almost 2 years ago

    0 comments
  • News Homepage created using Vue and Tailwind CSS

    #vue#tailwind-css

    Jethier•390
    Submitted almost 2 years ago

    0 comments
  • Loopstudios Landing Page created using React, TypeScript and Sass

    #react#typescript#sass/scss

    Jethier•390
    Submitted almost 2 years ago

    0 comments
  • Tip Calculator created using React, TypeScript and Tailwind CSS

    #react#tailwind-css#typescript

    Jethier•390
    Submitted almost 2 years ago

    0 comments
  • Testimonial Slider using React and Tailwind CSS

    #react#vite#tailwind-css

    Jethier•390
    Submitted about 2 years ago

    0 comments
View more solutions

Latest comments

  • mohamed magdy•110
    @mohamed-magdy26
    Submitted over 2 years ago

    Product preview card component using only html and css

    2
    Jethier•390
    @jCasia
    Posted over 2 years ago

    Hello! First of all, congratz on completing the challenge!!😀

    I was just looking at your code and wanted to help fix the responsiveness

    @media (max-width: 687px) { 
    
    .preview-card {
     grid-template-columns: 1fr;
     grid-template-rows: repeat(2, 1fr);  <--"Add this to specify how many rows you want in your grid,  your image does not know where to go, this should solve the problem"
     max-height: 40rem;  <--"add this so your card container won't get bigger than 40rem(640px)"
     margin: 0 2rem;  <-- "put a margin right and left to make it look neater"
      }
    
    .preview-card .img {
     min-height: 360px;  <--"remove this as this will restrict the height to 360px and the image will not go any smaller, so this limits the image to resize in smaller widths"
     border-radius: 10px 10px 0 0;
     background-image: url(/images/image-product-mobile.jpg);
    
    **when creating a grid, its good to specify which cells each element/div should be in the grid for example**
    
     grid-row:1/2;
     grid-column:1/2;
      }
    }
    

    I'm sorry if its a bit messy, but I hope I helped you out even its just a little bit

    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