@Mr-jaw
Posted
Hello there 👋
congratulation on completing the challenge
HTML 📄
- replace
<div class="attribution">
with the<footer>
tag of the credit to fix accessibility issues.
CSS 🎨
- Use relative units like
em
orrem
for margin, padding, width, and height. most preferablyrem
for font sizing to make it more responsive. avoid usingpx
which is an absolute unit.
We can do the following to bring the credit to the bottom of the page
-
In the
body
element addposition: relative
-
add the following lines of codes somewhere in the CSS file
.attribution {
position: absolute;
bottom: 0;
}
This will position the credit at the bottom of the page
change the value of the bottom
property to adjust how far from the bottom of the page it should be located
I hope this was useful 😊
HAPPY CODING
Marked as helpful
@meantoes
Posted
@Mr-jaw Hi! thank you so much for the tips and the feedback🙂 I'll try to use relative units from now on👩🏻💻 and thank you so much for the answer of my question!⭐⭐