Latest comments
- @Manojraj07@MakMao
Hey @Manojraj07
Your solution looks good - it is very close to the design:)
One thing I noticed is that you did not center your solution vertically even though you used
flex
andalign-items: center;
. The default height is zero which means that if you addmin-height: 100vh;
to yourbody
you will also have it centered vertically. Hope that helps.Marked as helpful - @MakMao@MakMao
@Manoj
Thanks for letting me know - overlooked that part:) Will do!
Happy coding!
- @UDsGitHub@MakMao
Hi,
Make sure to set a white background on your border. This will solve the problem.
- @MakMao@MakMao
@Hetesh Thanks a lot, I agree with you.
- @MakMao@MakMao
Hi @Ken,
Thank you for your feedback - I adjusted it all right away. I was not aware of the purpose of
aria-hidden
but now it's all clear to me:) - @10598ayethandar@MakMao
Hi, your end result looks okay so that's a win for sure:)
In terms of your way of writing code, I think it's a bit messy. I think it would be best for you to learn about BEM (Block-Element-Modifier) in order to structure your code better. This is especially handy when working on bigger projects. You will also learn about why it's better (in most cases, let's leave out JS usage for now) to use classes instead of id's.
https://sparkbox.com/foundry/bem_by_example
Good luck!
Marked as helpful