Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
25
Comments
8
Millz
@Brezus

All comments

  • Veljko Jelenković•200
    @jelenkoo10
    Submitted almost 3 years ago

    Responsive page with API, built with Flexbox, Grid and theme toggler

    #accessibility#react#fetch
    1
    Millz•530
    @Brezus
    Posted almost 3 years ago

    Awesome work dude i just finished this project too and to be able to click through the links you will need to use react routers Link here is a step by step guide

    1 Import { Link } from react-router-dom 2 Wrap your border elements inside the Link eg <Link>Random Border</Link> 3 Add a to attribute on the Link tag/component eg <Link to={/${Random Border}}>Random Border</Link> 4 Go to your Details file or component I assume you are using useEffect to fetch data of the country the user clicked on. 5 Your useEffect should have a dependency array which might be empty inside that array add the name of the country the user clicked on this way whenever the name changes the useEffect will re run and update the data I hope this is all clear to you and if not here are three videos which helped me out https://www.youtube.com/watch?v=RUFxmAjbNbg, https://www.youtube.com/watch?v=y_pr4lRoUto, https://www.youtube.com/watch?v=aZGzwEjZrXc&t=12s

    Marked as helpful
  • Ameer Ibrahim•290
    @itachi-13
    Submitted almost 3 years ago

    FAQ accordion card

    1
    Millz•530
    @Brezus
    Posted almost 3 years ago

    good clean code i expect nothing less from a fellow sharingan user

  • Elena Barden•170
    @metehnay
    Submitted over 3 years ago

    My Faq Accordion Card Solution with React

    1
    Millz•530
    @Brezus
    Posted over 3 years ago

    very good the accordion works great and the layout is good here are a few suggestions :

    1. Your .container class has a height of 100vh i would change that property to min-height: 100vh In your .container-md i noticed you are setting max and min heights generally it is considered bad practice setting heights because it can cause problems we were not expecting so instead let the content eg paragraphs, images or any htmls content to dictate the height of said container.
    2. On .container-md you also set min/max width those can be confusing and they are set to the same value in your code.. what i like to do is set a regular width eg. 'width:80% or width: 80vw' and under it put a max-width of 1000px so it never gets wider than 1000px.
    3. I would remove all the images in your .faq div and set them to be background images check out how to set background-images, how to position background images and how to chain more than one background image. Here are links that could help you out https://developer.mozilla.org/en-US/docs/Web/CSS/background-image, https://www.w3schools.com/css/css3_backgrounds.asp hope this helps
  • Rishi Mathur•10
    @skyrunner360
    Submitted almost 4 years ago

    Huddle Using some Flexbox

    3
    Millz•530
    @Brezus
    Posted almost 4 years ago

    Hi Rishi a fellow newbie here i can answer some of your questions in the order you asked so.. 1 to make it mobile friendly you will have to learn about media queries also learn about max-width min-width and clamp those can all help in making designs for mobile 2 if you want responsive you have to use relative units like ems, rems, vh, vw or percents instead of pixels as pixels don't adjust on browser resize 3 do both colors have the same name if so you can change the name of either and use it wherever in the design you want also look up using ":root" it will help with the colors 4 the text styles are provided for us follow the url's or better yet watch a few tutorials on youtube to figure it out its a bit hard for me to explain since i too am also a beginner i hope this helps and happy coding partner!

    Marked as helpful
  • Pol Thomas•70
    @PolThm
    Submitted about 4 years ago

    3 columns card component by Pol Thomas

    1
    Millz•530
    @Brezus
    Posted about 4 years ago

    it looks good remember to set the background color and I'm not sure why but your design looks tall are you setting heights?

  • noyon dey•125
    @noyondey1
    Submitted about 4 years ago

    Social Proof Section build with html and pure css by grid and flexbox

    2
    Millz•530
    @Brezus
    Posted about 4 years ago

    Looking good look up media queries so you can make a better transition between mobile and desktop design this challenge really beat me up when i first did it like a week ago I'm going to redo it eventually but yea happy coding ps w3schools is the goat man they have a lot of lessons on media queires

  • Edgar Fernando Britez•355
    @edgarfb
    Submitted about 4 years ago

    I am use plain html and css

    2
    Millz•530
    @Brezus
    Posted about 4 years ago

    hey i had that problem to just set the image to display block and that will get rid of it

  • JFREUN•20
    @JFREUN
    Submitted about 4 years ago

    First HTML/CSS Challenge how do I get the right look for the image??

    2
    Millz•530
    @Brezus
    Posted about 4 years ago

    hey im a beginner as well for the stats you could put them in a ul and make them list items and set the ul/containers display to flex and that should lay them beside each other or you can go on the individual ul li elements and set them to display:inline-block that will lay them down side by side and then you can set the margins/padding to increase the space they take up and as for the mobile design i follow this youtuber called kevin powell he advises that you do the mobile design first and then use media queries to change the width and other stuff of your design to accomodate wider screens

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