@faha1999
Posted
Hello, aljacly Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
s. like
<main class="container">
<div></div>
<div></div>
<div></div>
<div></div>
</main>
This would help improve accessibility.
- add the below code to the body. It will center everything
body {
justify-content: center;
align-items: center;
display: flex;
height: 100vh;
flex-direction: column;
}
- remove the below styles from the
.border
.border {
/* width: 200px; */
/* height: 200px; */
/* display: block; */
/* margin-left: auto; */
/* margin-right: auto;*/
/* margin-top: 250px;*/
}
- remove the below styles from the
.caption
.caption{
/* top: 48%;*/
/*height: 200px;*/
margin-top: 5rem;
}
I hope it will work. Happy coding.
Marked as helpful
@aljacly
Posted
@faha1999 Thanks very much for the tips and for sharing your solution! I appreciate the breakdown of the code.