Design comparison
Solution retrospective
If there's anything please tell me. Thanks ๐
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @joehaddad1000,
Congrats on completing the challenge
Either use the a tag and style it like a button or use the button tag but you can nest an a tag inside a button element.
<a> tag: a is for "anchor", I use it when the button is a link to a content on the page or external content; <button> tag: according with W3, this is the standard tag to create buttons on the page, so use it when you need an action like onClick().
we can assume the sign up button will take you to a sign up page so it can be an a tag styled like a button.
Hope this is helpful.
Marked as helpful0 - @correlucasPosted about 2 years ago
๐พHello Joseph Haddad, Congratulations on completing this challenge!
You made your html structure entirely with
div blocks
but these div doesn't any semantic meaning, for this reason is better you use a better html markup improving your code, for example for each card you use<article>
instead of the<div>
.โ๏ธ I hope this helps you and happy coding!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord