Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All solutions

  • Submitted


    What challenges did you encounter, and how did you overcome them?

    html file:Had a problem with the srcset and sizes attributes.When i had set a break point of 800px and above for my sizes attribute,the desktop image was never being used.even on larger screens the webpage would only load the mobile one. I switched to using the picture element and did not encountered this particular issue.

    css file:multiple struggles with border-radius.tried using border-top-right-radius:0; and border-bottom-right-radius:0; to remove the border on right corners and it had a weird behavior. It removed all borders on the corners except the top left one.So the bottom left also was removed even though i did not set the value to 0...

    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    

    but using border-radius with 4 values fixed it.

    Also ran into an issue with setting border-radius on the image.This was creating white space which I assumed was happening because i had not set the border-radius on the picture element which is the direct parent of the img. But when i did nothing was happening.So i ended up having to put the border-radius on the card too.This eliminated the white space.

  • Submitted


    What are you most proud of, and what would you do differently next time?

    Font weight was not working for the variable font, I should've specified a range then used font-variation-settings(not mandatory). like this

    @font-face {
      font-family: 'Inter';
      font-weight: 100 900;  
      src: url(Inter-VariableFont_slnt\wght.ttf) format("truetype"))
    } 
    
    h1{
      font-family: 'Inter';
      font-variation-settings: 'wght' 500; /*can get away with font-weight:500; */
    }
    

    What challenges did you encounter, and how did you overcome them?

    Was my first time using @font-face rule to load up custom fonts.I'm still not a hundred percent sure if this is the right way to do it.

    I always struggle with giving height to my body and container.Last time, when I used min-height on the body and had a height of 100% set on the container.The container wasn't filling up the whole page.So when I have a container and I want that container to take up the full page, is this the correct way?

    body {
    /*last time i used min-height here container wasn't taking up the full page  */
      height: 100vh; 
    }
    .container{
    height:100%;
    }
    

    So far i haven't had any issue with this

    What specific areas of your project would you like help with?

    Not sure but I'm always surprised at how different the web pages looks when I submit the solution, like padding/margin and width/height looks completely different.

  • Submitted


    What are you most proud of, and what would you do differently next time?

    For the width and height of the card, i'm not sure if adding a fixed width and height like I did is a good idea.Maybe using max-width would've been better, not sure.

    What challenges did you encounter, and how did you overcome them?

    Had a hard time creating space around the svg image and similarly border-radius caused me some weird issues.Inside my html file I wrapped the svg img inside of a wrapper and tried setting border-radius on the div wrapper but it didn't work properly.

    What specific areas of your project would you like help with?

    is it better to set a fixed width or use max-width for this particular challenge, or does it not matter that much?after submitting the solution the card is too tall compared to the design and there's a lot of extra space inside of the card(at the bottom), is that happening because i set a fixed height and width on the card?

  • Submitted


    What are you most proud of, and what would you do differently next time?

    I'm not sure if giving html,body a height of 100% was better than simply setting body to a 100vh. Since i want my container to take up the full page.

    What challenges did you encounter, and how did you overcome them?

    I originally had a repository on GitHub called frontend-mentor-challenges, where I was gonna put all my Frontend mentor projects.But after looking a bit online this wasn't recommended.So i'll just stick to one repository per project which ,as a beginner, makes it easier to deploy with GitHub pages.