Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
14
Comments
5

Don

@coffeeslammer220 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!

Latest solutions

  • Pod Request Access Page Challange


    Don•220
    Submitted about 2 years ago

    0 comments
  • Profile Card


    Don•220
    Submitted about 2 years ago

    1 comment
  • Meet Landing Page


    Don•220
    Submitted about 2 years ago

    0 comments
  • 3 Column Preview Card Challenge


    Don•220
    Submitted about 2 years ago

    0 comments
  • Stats preview card challange


    Don•220
    Submitted about 2 years ago

    0 comments
  • Equalizer Landing Page Challenge


    Don•220
    Submitted about 2 years ago

    0 comments
View more solutions

Latest comments

  • kuzukani•250
    @Kuzukani
    Submitted about 2 years ago

    Stats preview card component fully responsive with flexbox

    2
    Don•220
    @coffeeslammer
    Posted about 2 years ago

    to mix the color to the image you use

    picture{
    background-color: color of choice;
    }
    picture img{
    mix-blend-mode: multiply
    opacity: 0 - 1;
    }
    

    and the background color to a wrapper like <picture> or <div> depending on situation

  • Kevin H.•150
    @kevinx9000
    Submitted about 2 years ago

    Responsive product preview card component using Flexbox

    2
    Don•220
    @coffeeslammer
    Posted about 2 years ago

    Here's a nice way of fixing that

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

    (use what ever class name you like) Once the image gets to the size its set to it will switch to in media (mine 39.75rem) the srcset replaces the image without any css code

    You should also always start mobile first. Makes it way easier

    Marked as helpful
  • waldir•120
    @waldir07
    Submitted about 2 years ago

    Using flexbox :)

    #accessibility
    2
    Don•220
    @coffeeslammer
    Posted about 2 years ago

    Here is a couple things Look into <Picture> element and srcset. It will resize your picture for you without css.

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

    The Perfume should be your H1. Think of your H's as a file structure. If they were folders H1 is the root folder and all other H's are sub-folders. Perfume would be the main folder and brands would be stored in that folder (figuratively speaking). The brand here would be a <P>.

    Always use CSS to do uppercase. A screen reader may interpret uppercase in html text as being an acronym and may read it as letters rather than words. Use text-transform in CSS.

    The prices shouldn't be H's either.

    Hope this helps on your learning journey.

    Marked as helpful
  • Oluwafemi Kolade•230
    @Kolade1024
    Submitted about 2 years ago

    Product-preview-card-component

    #accessibility
    2
    Don•220
    @coffeeslammer
    Posted about 2 years ago

    I can give you a couple tips. look into <Picture> element. and srcset. It will resize your picture for you The Perfume should be your H1. Think of your H's as a file structure. If they were folders H1 is the root folder and all other H's are sub-folders. Perfume would be the main folder and brands would be stored in that folder (figuratively speaking). The brand here would be a <P>. Also its always recommended to use CSS to do uppercase. I'm still learning but I think the reason is some screenreaders will read each letter instead of the word. Use text-transform in CSS. Hope this helps on your learning journey.

    Marked as helpful
  • Micwir•80
    @Micwir
    Submitted about 2 years ago

    Stats preview card component with GridLayout on Desktop-Design

    1
    Don•220
    @coffeeslammer
    Posted about 2 years ago

    I'm still learning myself. I saw you are using the H1 more then once. You are only suppose to use it one time. Way I am understanding the H's is use one H1 once then the other use H2. Think of them as a folder structure in a way if you had a another h deeper under the h2 you would make it an h3 and so on. I picked that idea up from Keven Powell on you tube.

    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

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