@romila2003
Posted
Hi Pedro,
Congratulations 🎉 for completing this challenge, it was a great attempt however there are some issues regarding your HTML and CSS:
- It is best practice to wrap your code within the
main
tag which would ensure that your content is wrapped within the correct landmarks e.g.<main class="container"></main>
- Your buttons are missing the
type
attribute e.g.<button class="btn" type="button"></button>
- The star image should not be nested within the
h1
tag since it requires a text and is mostly used as a title for something. If you want the image nested within something, you should use thediv
tag instead. - You should give the submit button, the
cursor
property ofpointer
e.g.cursor: pointer;
- For the buttons, I would suggest you change the padding and add
text-align
like this:
.num {
padding: 15px 20px;
text-align: center;
}
Also, remove the width
and height
property within the .num
to center the numbers in the middle.
Overall, great attempt and wish you the best for your future projects so keep coding 👍.
Marked as helpful