Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
25
Comments
16

Yasmine

@Yasmine10Belgium710 points

Hi! 👾 I currently work as a frontend developer. On here trying to improve my skills and learn new things.

I’m currently learning...

React and animations

Latest solutions

  • Recipe page (React, Sass, Mobile first)

    #react#sass/scss#typescript

    Yasmine•710
    Submitted 5 months ago

    0 comments
  • Newsletter sign-up with success message (vite, html, css, javascript)

    #vite

    Yasmine•710
    Submitted over 1 year ago

    0 comments
  • Blog preview card (vite, html, css)

    #vite

    Yasmine•710
    Submitted over 1 year ago

    0 comments
  • arch studio multi-page website (vite, react, react-leaflet, mapbox)

    #react#react-router#sass/scss#vite#bem

    Yasmine•710
    Submitted over 1 year ago

    0 comments
  • Interactive rating component (vite, javascript, css, mobile-first)

    #vite#bem

    Yasmine•710
    Submitted over 1 year ago

    0 comments
  • Minimalist portfolio website (vite, react, sass, mobile-first)

    #bem#react#react-router#sass/scss#vite

    Yasmine•710
    Submitted over 1 year ago

    0 comments
View more solutions

Latest comments

  • Benjamin Lincoln•20
    @CuriousFullStacks
    Submitted almost 2 years ago

    Responsive QR code using Flexbox and EM/REM

    1
    Yasmine•710
    @Yasmine10
    Posted almost 2 years ago

    Hi @CuriousFullStacks

    When you remove the width: 70% in your <p> element and add padding-inline: 2rem; , the text should look the same as the design.

    Hope this helps 😊

    Marked as helpful
  • Charles•170
    @charlesuzodike
    Submitted almost 2 years ago

    Responsive Product Preview Card Component with HTML,CSS

    2
    Yasmine•710
    @Yasmine10
    Posted almost 2 years ago

    Hi @cacti00

    An easy way to display your image and content side by side is to use grid, you could do something like this in your .product-card class:

    display: grid; 
    grid-template-columns: repeat(2, 1fr);  /* use grid-template-columns: 1fr; for mobile view */
    

    I also saw that you're using divs with an img inside to display the image in your html. There is an html element for that actually: '<picture>'

    Here's an example of what that would look like for this project:

    <picture>
      <source srcset="images/image-product-desktop.jpg" media="(min-width: 50em)" />
      <img src="images/image-product-mobile.jpg" alt="" /> 
    </picture>
    

    Hope this is helpful 😊

    Marked as helpful
  • bilguun1130•380
    @bilguun1130
    Submitted almost 2 years ago

    NFT preview card component

    2
    Yasmine•710
    @Yasmine10
    Posted almost 2 years ago

    Hi @bilguun1130

    The reason for the spacing issue is because you used grid and then you downsized the icon image with percentages. It doesn't recognise that the icon image is not at 100% anymore, but if you use for example height: 3rem on the avatar image it should work just fine.

    To prevent that issue in the future you could also add align-items: flex-start to your .main-content class, that way you can also see that the image is still height: 100% instead of 30%

    Otherwise great solution!

    Hope this helps 😊

    Marked as helpful
  • atmaram-kambli•60
    @atmaram-kambli
    Submitted almost 2 years ago

    QRCode Component

    1
    Yasmine•710
    @Yasmine10
    Posted almost 2 years ago

    Hi @atmaram-kambli,

    Great job on your first project!

    To center the main container you could change the following in your code:

    • in the body:
    body {
    font-family: 'Roboto Slab', serif;
    text-align: center;
    background-color: hsl(212, 45%, 89%);
    height: 100%;    // -> remove this and replace with min-height: 100vh;
    display: flex;
    flex-direction: column;     // -> remove this because this doesn't do anything
    align-items: center;
    justify-content: center;
    }
    
    • in your .main class:
    .main {
    background-color: hsl(0, 0%, 100%);
    border: 2px solid red;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: 450px;
    width: 350px;
    margin-top: 100px;   -> remove this line
    display: flex;
    align-self: center;
    flex-direction: column;
    align-items: center;
    }
    

    I also saw that your qr code image is a little stretched, to fix that you could add the following in your css:

    #qr {
    width: 100%;
    object-fit: cover;     // -> add this line
    }
    

    Hope this helps!

    Marked as helpful
  • ClaireliseDev•150
    @ClaireLise-dev
    Submitted over 2 years ago

    News Homepage solution

    1
    Yasmine•710
    @Yasmine10
    Posted over 2 years ago

    Hi @ClaireLise-dev 👋

    Congratulations on finishing the challenge! It looks really good!

    I don't see any problems with scrolling in a 1440px screen. To me it looks good.

    For the mobile menu you actually don't need to write a second <nav> like you have done. You can just use a media query and change the styling when it's below or above a certain breakpoint.

    And to make the mobile menu with only HTML and CSS, you can use a hidden checkbox with a label. In the label you place the hamburger icon and depending on when the checkbox is checked or not, you can show or hide the mobile menu. I've got a codepen that shows you how to do this 😊

    Hope this helps!

    Marked as helpful
  • Demilade•120
    @Billygotclout
    Submitted over 2 years ago

    News page using css grid

    #accessibility
    2
    Yasmine•710
    @Yasmine10
    Posted over 2 years ago

    Hi @Billygotclout 👋

    Good job on finishing this project!

    To make the navbar responsive with HTML and CSS you can use a hidden checkbox and a label. Inside the label you place the hamburger icon and depending on when the checkbox is checked or not you show or hide the navbar.

    I also have a codepen that could help explain how to do this exactly 😊

    Hope this helps!

View more comments
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

Mentor of the Week - 3rd Place

This badge is awarded to the 3rd placed community member on the weekly Wall of Fame.

Fun fact

The Hansen Writing Ball shown in the badge was the first commercially produced typewriter. It was put into production in 1870 with its unique ergonomic design. It was overtaken in the market in 1873 by the Sholes and Glidden typewriter which was the first keyboard to utilise the QWERTY layout we now use today.

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