Hello everyone! Thanks in advance for your time and help… My code so far:
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<html>
<main id="main">
<title id="title">Pedro Silveira</title>
<div id="img-div" style="dive">
<img src="https://regrasdoesporte.com.br/wp-content/forum/uploads/2013/04/tudo-sobre-surfe.jpg" style="imag" id="image" />
<div id="img-caption">Waves are amazing!</div>
</div>
<div id="tribute-info"> I'm a student, surfer, musician, programming lover!
</div>
<a href="https://pt.wikipedia.org/wiki/Surfe" target="_blank" id="tribute-link">Information?, find yourself</a>
</main>
CSS:
imag {
width: 80%;
height: 50%;
align: center;
top: 50%;
left: 50%;
}
dive {
max-width: 60px;
height: 60px;
}
@media (max-width: 599px) {
dive {
width: 30px;
height: 30px;
align: center;
}
}
I can’t get the last 2 tests done (image: responsive and centered)
Thanks and blessings
Pedro