@tesla-ambassador
Posted
Hey Billeh, congratulations on completing this challenge! I hope you enjoyed taking it on π Here's a few tips to help you completely annihilate this challenge π₯ :
- I noticed that you used display flex on your body element and it flexed your
attribution
div and the card component in a horizontal direction. In order to fix those issues, you might want to add the following styles to your body.
body {
flex-direction: column;
justify-content: center;
gap: 20px;
}
Just add them, it will center your card and let your items be flexed in a horizontal direction.
- In order to resolve some of your accessibility issues, you might wanna use landmarks in your html code, these help browsers easily navigate your code. So you might consider wrapping your divs in landmarks like
<main>
or<header>
or<footer>
you need to do this according to how your page is structured. Incase you want to know more about landmarks, follow this link.
Happy coding and keep up the good work!