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

Roan Macmillan

@RoanMacmillanEdinburgh820 points

Hi, I'm Roan. Currently studying Front-end development and hope to land my first job soon!

I’m currently learning...

Tailwind 🚀

Latest solutions

  • Age Calculator with Tailwind

    #tailwind-css#vite#react

    Roan Macmillan•820
    Submitted almost 2 years ago

    0 comments
  • Arch Studio with React and Leaflet

    #react#react-router#vite

    Roan Macmillan•820
    Submitted almost 2 years ago

    0 comments
  • Audiophile Ecommerce Site

    #react#react-router#vite

    Roan Macmillan•820
    Submitted about 2 years ago

    1 comment
  • Minimal Portfolio Site with React

    #react#react-router#vite

    Roan Macmillan•820
    Submitted about 2 years ago

    0 comments
  • Galleria slideshow site

    #react#vite#react-router

    Roan Macmillan•820
    Submitted about 2 years ago

    1 comment
  • Rest Countries API

    #react#react-router#vite

    Roan Macmillan•820
    Submitted about 2 years ago

    1 comment
View more solutions

Latest comments

  • Kure-ru•120
    @Kure-ru
    Submitted about 2 years ago

    React Todo app

    #react
    2
    Roan Macmillan•820
    @RoanMacmillan
    Posted about 2 years ago

    Try this on the input element:

    
    .input__txt {
    
    box-sizing: border-box;
    
    }
    
    

    By default a lot of HTML elements have the value 'content-box' which means that any padding or border you add will increase the overall width of the element, so you can use border-box like above.

    As for the the actual to do list element you must have a different width set compared to the input field, maybe you could look to change that. Hope this helps!

    Marked as helpful
  • Godstime•330
    @iceberg61
    Submitted about 2 years ago

    3-column-preview-card-component

    2
    Roan Macmillan•820
    @RoanMacmillan
    Posted about 2 years ago

    Nice one looks good!

    I noticed there is an issue when hovering over the buttons; the container seems to grow a bit. You could try this instead:

    button {
        font-weight: 700;
        border-radius: 30px;
        color: inherit;
        border: 2px solid white;
        padding: 1rem 3rem;
        background-color: var(--color-Very-light-gray-background-headings-buttons);
    }
    
    
    button:hover {
        background-color: inherit;
        cursor: pointer;
        color: var(--color-Very-light-gray-background-headings-buttons);
    }
    
    Marked as helpful
  • Laryssa Carvalho•30
    @laryssacarvalho
    Submitted about 2 years ago

    Responsive product card component

    2
    Roan Macmillan•820
    @RoanMacmillan
    Posted about 2 years ago

    Looks awesome well done. Consider using a h1 tag for the main heading, there's a few reasons why this is important:

    • Accessibility: Having a clear and descriptive <h1> heading can improve the accessibility of your webpage. For example, screen readers will use the <h1> heading to provide an overview of the content on the page.

    • Search engine optimization: Search engines use the <h1> tag to determine the main topic of the page.

    • User experience: A clear and prominent <h1> heading can help users understand what your page is about and quickly find the information they are looking for.

    Marked as helpful
  • Nada Sabry•120
    @NadaSabry
    Submitted about 2 years ago

    REST-Countries-API

    #angular#sass/scss
    1
    Roan Macmillan•820
    @RoanMacmillan
    Posted about 2 years ago

    To make the images within the cards the same size you can consider wrapping the images in a container and doing something like this. Not entirely sure this is the best way to achieve this, but worked for me pretty well in this challenge.

    .imgContainer {
      width: 264px;
      height: 160px;
      overflow: hidden;
    }
    .img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    Marked as helpful
  • Hadrien Janssens•30
    @BlackPigCompany
    Submitted about 2 years ago

    I use sass for the first time

    #sass/scss
    2
    Roan Macmillan•820
    @RoanMacmillan
    Posted about 2 years ago

    Hey there. Consider using semantic HTML elements. For example;

    • Wrap the main content of your html in a '<main></main>' tag instead of using '<div class='container'>'.

    • Wrap the 'Your result' element in a h1 tag instead of a p tag.

    This will make sure you avoid accessibility issues and will provide more context and structure to your content.

    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