@Aq1q
Posted
Hello There
I have some things you could think while doing your future projects:
-It seems that your solution is not really centered and it looks like your component overflows the page, you can fix that adding some style to your body tag, for example:
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
It makes your body tag take full device height, stops it from overflowing the page and centers your component vertically and horizontally
I can also see you did not create style for mobile devices media queries are something that could help you with it
Marked as helpful
@RahulCoder9999
Posted
@Aq1q Thanks for the corrections
@Aq1q
Posted
@RahulCoder9999 You're trying to display them from ./images, but you don't have that folder in your repo, so either create that folder in your github repo or use ./icon-name
@Aq1q
Posted
@RahulCoder9999 I'm sorry I should also specify that you need to change your src from '../images' to just './images' in your HTML