Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
62
Comments
82
Byron
@byronbyron

All comments

  • DanielK•440
    @DanK1368
    Submitted about 3 years ago

    Responsive Dropdown Navigation using REACT & Styled Components

    #react#styled-components
    3
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @DanK1368 Hia mate.

    Try position: fixed; instead of position: absolute;, to fix the scrolling issue.

    @media screen and (max-width: 670px) {
        .ggprRt {
            /* position: absolute; */
            position: fixed;
            top: 0px;
            left: 0px;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            transform: translateX(110%);
            opacity: 0;
        }
    }
    
    Marked as helpful
  • Chillidot•40
    @Chillidot
    Submitted about 3 years ago

    Interactive rating component mixing CSS grid and flexbox

    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Hi @Chillidot

    If you remove the height: auto; from the your style.css below, that should fix it in safari!

    /** Circle **/
    svg{
        max-width: 100%;
        /* height: auto; */
    }
    

    Hope that helps!

    Marked as helpful
  • Ujwal Vinay•150
    @ujwalvinay
    Submitted about 3 years ago

    NFT preview card component

    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Hi @ujwalvinay

    You can put the overlay hover on the image by adding an image wrapper and using a pseudo element, something like:

    <div class="img-wrapper">
        <img src="images/image-equilibrium.jpg" alt="image" id="banner">
    </div>
    
    .img-wrapper {
        position: relative;
    }
    
    .img-wrapper::before {
        content: '';
        background: url('../images/icon-view.svg') center no-repeat hsla(178, 100%, 50%, 0.5);
        display: block;
        border-radius: 1.2rem;
        position: absolute;
        top: 0;
        right: 5%;
        bottom: 0;
        left: 5%;
        z-index: 100;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0.3s, opacity 0.3s;
    }
    
    .img-wrapper:hover::before {
        visibility: visible;
        opacity: 1;
    }
    

    Hope that helps! 👍

    Marked as helpful
  • Miguel Ruiz•20
    @MikeAngel2
    Submitted about 3 years ago

    Responsive Webpage, using basic Jquery and SASS

    #jquery#sass/scss
    2
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Hi @MikeAngel2

    You should be able to center the second card by updating your index.js to set display flex instead of block.

    $(".Thanks").css('display','flex');
    

    This bit of CSS should help to center the text on the second card as well

    .Thanks {
        align-items: center;
        text-align: center;
    }
    

    Hope that helps!

    Marked as helpful
  • Abrosss•440
    @Abrosss
    Submitted about 3 years ago

    Random advice API

    2
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @Abrosss Looks good!

    Your question is probably one for whoever designed it. I went with a fixed width, but I don't think it matters too much.

    Few html/accessibility issues:

    Your <section class="page"></section> element is probably better off being a <main class="page"></main> (Document should have one main landmark)

    Also need a <h1> element somewhere inside your <section class="container"> (Page should contain a level-one heading)

    Marked as helpful
  • Ganesh•280
    @Ganesh-Rathor
    Submitted about 3 years ago

    Interactive pricing component using flex css js

    #accessibility
    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @Ganesh-Rathor To style range input on chrome/brave (webkit) you can use:

    input[type=range]::-webkit-slider-runnable-track {}
    input[type=range]::-webkit-slider-thumb {}
    
    Marked as helpful
  • jill pandya•90
    @jillpandya2594
    Submitted about 3 years ago

    CSS Grid layout

    #accessibility
    3
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Hey @jillpandya2594, Hopefully this fixes your grid!

    .container {
        margin: auto;
        max-width: 40rem;
        padding: 2em;
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
    
    main {
        padding: 2em;
        background-color: #fff;
        grid-column: span 2;
        align-self: flex-end;
    }
    
    section {
        display: flex;
        flex-direction: column;
        padding: 2em;
        background-color: hsl(179, 62%, 43%);
    }
    
    aside {
        padding: 2em;
        background-color: hsl(180, 62%, 47%);
        line-height: 1.6;
    }
    
  • Nelson Rosario•50
    @NellyisDevv
    Submitted about 3 years ago

    QR code component

    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Nice job @NellyisDevv

    I would avoid using the <center> tag as it's well out of date, and no longer recommended.

    To display your QR code a tiny bit better on really small screen widths (around 320px) I would do something like this:

    .qr-container-background {
        background-color: var(--White-);
        padding: 20px;
        border-radius: 20px;
        max-width: 320px; /* Set max width of card */
        width: 100%; /* Full width up until 320px */
    }
    
    .qr-container-photo img {
        border-radius: 10px;
        width: 100%; /* Set image to fill width of the container */
        height: auto;
    }
    

    For a small project like this, I think your CSS file set up is absolutely fine!

    Also, you've got a few Accessibility/Html issues that you could resolve for a perfect score.

    Marked as helpful
  • Dizzy_Sloth•50
    @TotallySly
    Submitted about 3 years ago

    Order Component Using HTML CSS and Flexbox

    2
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Hey @TotallySly, it looks alright!

    For the button hover, I used a slight opacity instead of the background colour, something like:

    .payment--container button:hover,
    .payment--container button:focus {
        opacity: 0.75;
    }
    

    For the sizing thing, it depends on how picky your client is in the real world 😅. When I want to get the image size from the design image, I usually open it up in Preview (mac) and drag a square around the image to get the dimensions.

    For your Order Component, it looks like your background images aren't coming through. Something like this should help I think (feel free to play around with the background-size values):

    body {
        ...
        background: url(images/pattern-background-mobile.svg) no-repeat, top center hsl(225, 100%, 94%);
        background-size: 100% 194px;
    }
    
    @media screen and (min-width: 908px) {
        body {
            background-image: url(images/pattern-background-desktop.svg);
            background-size: contain;
        }
    
    Marked as helpful
  • Emmanuel Oloke•320
    @EmmanuelOloke
    Submitted about 3 years ago

    Fylo Landing Page Built with HTML, CSS and Bootstrap

    #bootstrap
    2
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @EmmanuelOloke Looks good!

    Your <section> elements ideally need a heading tag inside them somewhere 👍

    That's my 5 pence 😅

    Marked as helpful
  • DanielK•440
    @DanK1368
    Submitted about 3 years ago

    Todo App with SASS/vanilla JS + added search function

    #sass/scss
    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @DanK1368 Looks good!

    1. background-image: url(../../assets/icon-check.svg); will get you the checkbox!
    2. It sounds like your todo ids aren't correctly being set. I had a similar problem and solved it by using SortableJS and nanoid
    Marked as helpful
  • Adam M•550
    @AdamMzkr
    Submitted about 3 years ago

    Qr code HTML/CSS flexbox

    4
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    @AdamMzkr Looks great!

    Just missing a <main> tag, that's all.

    Nice job 👍

    Marked as helpful
  • jackzorola•40
    @jackzorola10
    Submitted about 3 years ago

    QR Component in which I tried keeping the CSS code at minimum

    1
    Byron•2,290
    @byronbyron
    Posted about 3 years ago

    Looks good @jackzorola10

    The landmarks issue basically means you're missing a <main> tag. Try wrapping everything inside the <body> with a <main> tag.

    Hope that solves your issue 👍

    Marked as helpful
  • Maciej•280
    @dreamspice
    Submitted over 3 years ago

    Pricing component with toggle challenge hub

    1
    Byron•2,290
    @byronbyron
    Posted over 3 years ago

    Hey @dreamspice your BEM classes don’t look too bad at all! The main point is that you’ve picked a convention and stuck to it. 👍

    Marked as helpful
  • dasari venkata siddartha dinesh kumar•30
    @dinesh671
    Submitted over 3 years ago

    social media dashboard dark light toggle

    #sass/scss#bem
    1
    Byron•2,290
    @byronbyron
    Posted over 3 years ago

    Nice work, @dinesh671

  • Christ Kevin Touga Watat•270
    @Christ-Kevin
    Submitted over 3 years ago

    NFTchallenge with CSS custom properties and Flexbox

    1
    Byron•2,290
    @byronbyron
    Posted over 3 years ago

    Not bad @Christ-Kevin

    I'd suggest having a look at the accessibility/html issues flagged by the FE mentor report 👍

    • All page content should be contained by landmarks
    • Bad value auto for attribute height on element img: Expected a digit but saw auto instead.
    • Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.
    • etc.

    Other than that looks good! The massive height is a new one as well 😆

  • Reandyx•310
    @Reandyx
    Submitted over 3 years ago

    Social media dashboard with theme switcher

    1
    Byron•2,290
    @byronbyron
    Posted over 3 years ago

    Hi @Reandyx

    Looks really good!

    Few accessibility issues flagged the FE Mentor report:

    • Heading levels should only increase by one
    • Document should have one main landmark

    Both should be fairly easy to fix by making sure your heading start at <h1> and continue in order. The second issue can be fixed by wrapping all the content in a <main> tag.

    Your transitions when the theme switches are brilliant!

  • Ashraf Awad•60
    @Ashraf-7
    Submitted over 3 years ago

    Social Media Dashboard with Theme Switcher

    #accessibility#bem
    1
    Byron•2,290
    @byronbyron
    Posted over 3 years ago

    Hi @Ashraf-7

    Looks like you've got a few issues flagged by FE Mentor's report thingy:

    • Buttons must have discernible text
    • Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

    Other than those, it looks good 👍

    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

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