Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
21
Comments
7

Ian Rioba

@Rioba-IanNairobi Kenya480 points

Learning, improving and iterating it again.

I’m currently learning...

Backend development

Latest solutions

  • Space tourism website

    #astro#tailwind-css#preact

    Ian Rioba•480
    Submitted 7 months ago

    0 comments
  • Mortgage Repayment Calculator

    #solid-js#tailwind-css

    Ian Rioba•480
    Submitted 12 months ago

    0 comments
  • Newsletter signup

    #astro#tailwind-css

    Ian Rioba•480
    Submitted over 1 year ago

    0 comments
  • Easy banking landing site

    #astro#tailwind-css#react

    Ian Rioba•480
    Submitted over 1 year ago

    0 comments
  • Comments Interactive App Fullstack with Next Js

    #next#tailwind-css

    Ian Rioba•480
    Submitted over 1 year ago

    0 comments
  • Ip Address tracker

    #react#swr

    Ian Rioba•480
    Submitted over 1 year ago

    0 comments
View more solutions

Latest comments

  • Ruth•40
    @ruth-chirwa
    Submitted over 1 year ago

    Blog card using Html and CSS

    #accessibility
    2
    Ian Rioba•480
    @Rioba-Ian
    Posted over 1 year ago

    Hi Ruth,

    If you want to center the card you can easily style the <main> as follows

    main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    }
    

    Also, you can set a min-width so that in smaller screen it doesn't touch the edges

    main{
    width: min(80%, 1200px);
    margin: 0 auto;
    }
    

    This ensures that it always stays at the center and will never fully touch the edges. I've added the 1200px as a maximum for large screens; you can play around with this value but will mostly apply to layouts that are larger than the card you have.

    The execution is perfect and you did a great job 👏🏻

    Marked as helpful
  • Serah Nderi•450
    @MundiaNderi
    Submitted over 1 year ago

    Product feedback app

    #react#tailwind-css
    1
    Ian Rioba•480
    @Rioba-Ian
    Posted over 1 year ago

    Hey Serah, you can add a file inside your root directory to handle the netlify redirects since once the user refreshes the page they get a not found page from netlify. Here are the steps:

    1. In your root create a netlify.toml file
    2. In the file add the following contents
    [[redirects]]
      from = "/*"
      to = "/index.html"
      status = 200
    

    Push your code to github again, if you have deployment pipeline configured it should update automatically. Happy coding and great work 👏🏻

    Marked as helpful
  • Skalex Stuch•210
    @mussino
    Submitted over 1 year ago
    What are you most proud of, and what would you do differently next time?

    first steps

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

    the flex box

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

    accessibility

    simpleProject with flexbox

    1
    Ian Rioba•480
    @Rioba-Ian
    Posted over 1 year ago

    Hey Skalex,

    There might be a better way to solve this part of your code

    body {
        background-color: hsl(212, 45%, 89%);    
    }
    section {
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    

    First by giving the section a height of 90vh it means that at all screen sizes like it covers almost 90% of the screen's height. It will also bring a scroll bar automatically. To fix this you can put a min-height: 100vh to your body and remove the 90vh in the section.

    Second, since you've managed to center the items; which I'll also give you more options to center items as well; instead of giving the section a specific height, what would be better would to bring it to the center and just use padding of its inside content thus giving it a height.

    You might try using

    margin: 0 auto; // also margin-inline: auto;
    

    To bring the section to the center and then give it a

    margin-top: 20vh; // you can play around with this number to center it properly. 
    

    or

    transform: translateY(-50%)
    

    You can also try grid: you can check out this extensive detail.

    I hope this helps and bravo on finishing the project.

    Marked as helpful
  • Ignacio Parisi•80
    @IgnacioParisi
    Submitted over 2 years ago

    FAQ Accordion Card

    1
    Ian Rioba•480
    @Rioba-Ian
    Posted over 2 years ago

    Hi @IgnacioParisi, you can check out this site: https://animista.net/ where you can experiment with different kinds of transitions to exits or transformations. It has many examples plus you get the code.

    You can put the red email box inside the img-container and set its position as absolute while for the img-container as relative. I hope this helps.

  • Cindy Kandie•100
    @cindykandie
    Submitted over 2 years ago

    Interactive Rating Card

    1
    Ian Rioba•480
    @Rioba-Ian
    Posted over 2 years ago

    Hi Cindy, you might want to check that the user has clicked on the buttons before hitting submit. One of the ways you can do that is by setting data attributes to each of the li items. Once one of them is clicked you store the data in an array. If the array is empty you always set the submit to disabled otherwise you allow for submit. You can think of the js as something like this:

    const dataItems = [] // array to store data from li items
    
    if (!dataItems) return 
    
    // otherwise submit 
    // some code here...
    
    Marked as helpful
  • Harley García Carmona•40
    @HarleyGC
    Submitted over 2 years ago

    Product preview card solution

    2
    Ian Rioba•480
    @Rioba-Ian
    Posted over 2 years ago

    Hi Harley,

    I believe your solution is quite great and spot on. I've looked also at your code and where the breakpoint is defined is at 376px. Defining the break points is usually relative --- allow me to refer to one of Kevin Powell's lessons on responsive design -- you can define a break point based on where your layout breaks, in this case you can define the max-width at 570px or there about.

    Mobile screens and small screens are usually at max-width: 600px which is used in most cases, but the best break points is based on where your layout breaks.

    Marked as helpful
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

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