Ping Coming Soon using HTML, CSS, Javascript
Design comparison
Solution retrospective
Hello!! Would love some feedback on my code. Thank you in advance!
Community feedback
- @SJ-NosratPosted over 3 years ago
Hi Fazza, Your solution looks great! I hope the following suggestion help! Please look into refactoring the following code:
<section class="copyright"> <a href="#" class="fa fa-facebook"></a> <a href="#" class="fa fa-twitter"></a> <a href="#" class="fa fa-instagram"></a> <br /> <small>© Copyright Ping. All rights reserved.</small> </section>
Instead of the above, use
<ul>
elements, as follows:<section class="copyright"> <ul> <li><a href="#" class="fa fa-facebook"></a></li> <li><a href="#" class="fa fa-twitter"></a></li> <li> <a href="#" class="fa fa-instagram"></a></li> </ul> <span>© Copyright Ping. All rights reserved.</span> </section>
Try and don't use
<small>
if you're trying to achieve the text to appear smaller instead style your elements using<span>
for decorative purposes.Also,
* { margin: 0; padding: 0; box-sizing: inherit; /* WHY DON'T YOU JUST ADD ---border-box--- here? */ }
Also, add the following code to your HTML
<div role="main" class="main-container">
to the opening tag of yourmain-container
class. You can check the generated report and fix the accessibility issues too. MDN article on WAI-ARIA.Best of luck on your coding journey!
Marked as helpful0@fazzaamiarsoPosted over 3 years ago@shahin1987 Hi! Thank you for your comprehensive feedback, now I know what to improve on is accessibility issues and it cleared out my doubt about using ul for links.
0 - @palgrammingPosted over 3 years ago
Looks really good the only thing it looks like you are missing are the circles around your social icons
0@fazzaamiarsoPosted over 3 years ago@palgramming ohh woww, I didn't even notice that details😂. Thank you very much!!
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