It is good working with tailwind and CSS while learning new things about tailwind.
Latest solutions
Blog Preview Component | Tailwindcss
#tailwind-cssSubmitted 3 months agoIf you see anything wrong with my code, especially with my HTML markup then please leave some feedback.
Basic QR Code Component | HTML, CSS
#bemSubmitted 4 months agoI think I did a good job here but if you see any problem with my code or have any advice or feedback don't be shy ;)
Latest comments
- @Nikhil-NewareSubmitted 2 months agoWhat are you most proud of, and what would you do differently next time?@xianortPosted 2 months ago
Hello @Nikhil-Neware, I like the blue shades on your solution.
Just some advice to help your HTML be more accessible.
- Enclose the page's unique content with the
<main>
element.
Using landmark elements like
<main>
in your HTML enables users of assistive technology to quickly identify and navigate to large sections of the document.- Use
<a>
elements instead of<div>
for links.
I noticed you're using
div
s instead ofa
s for the social links. Think about how this component would be in a real setting. It would have links to that person's socials so why not mark it up as links?- Use
<ul>
element to make a list of links.
While you're at it make a list of out of those links as well to make it easy for assistive technology users to get a count of how many items are in the list and navigate to a particular item.
Hope you found this useful.
Marked as helpful0 - Enclose the page's unique content with the
- @xgbdevSubmitted 3 months agoWhat are you most proud of, and what would you do differently next time?
The simple styles
What challenges did you encounter, and how did you overcome them?Nothing.
What specific areas of your project would you like help with?The exactly positions of the elements.
@xianortPosted 3 months agoHello, your solution looks good! I only have one point.
In general, your HTML pages should each have only one
<h1>
tag. Having no<h1>
or more than one can confuse screen reader users as they depend on headings to construct a table of contents for the page.For more info please read MDN's article about HTML headings.
Marked as helpful1 - @ReyCrisGitSubmitted about 1 year ago
- P@the-ExalterSubmitted 4 months ago@xianortPosted 4 months ago
Hello, I think your solution looks great.
I checked your code and I think there are a couple of points worth mentioning:
- Using more than one
<h1>
- Skipping heading levels
I think these two practices can be a source of confusion for screen reader users. So I think it's best to avoid them.
Prefer using only one
<h1>
element per page and don't skip heading levels.I recommend you read MDNs article about HTML heading elements.
I hope you find this helpful.
Marked as helpful1 - Using more than one