Design comparison
Solution retrospective
This challenge was a bit more difficult than it should of been, had a lot of trouble with positioning and when I got it down on one screen resolution I painfully found out that it looked horrible on other screen sizes. Luckily I have Tailwind UI, and I picked out one layout and just edit it for my use case.
I want to say I did try to work on my semantic tags in html, also practicing more of these challenges is really helping me understand Tailwind CSS as well getting better with my css, especially positioning.
Community feedback
- @tarasisPosted about 2 years ago
Hi Alex 👋 congrats on finishing the challenge. I'm impressed I've not see the HTML validator throw out so many errors before. Seems like you broke it somewhere but not with your code (give one of the errors mentions webkit but I couldn't see that in your stuff).
Your build looks good on the expected sizes, but you're right that some of the sizing look broken. For instance 470 to 770 ish, and 1024 to 1440. Part of that is you are adding explicit width & heights in your media queries
@media (min-width: 768px) and (max-width: 1024px) { body { background-image: url('../bg-main-tablet.png'); width: 768px; height: 1781px; } //// snip } @media (min-width: 1025px) and (max-width: 1280px) { body { background-image: url('../bg-main-desktop.png'); width: 1440px; height: 1832px; } } @media (min-width: 1281px) { body { background-image: url('../bg-main-desktop.png'); width: 1440px; height: 1832px; } }
Don't do that. For a start makes the design very unresponsive and adds unneeded horizontal scrolling.
Add a
<br>
tag after "All rights reserved © Equalizer 2021" to force the rest onto the next line. Maybe make the email bold, or amailto:
link.Keyboard navigation between your buttons doesn't work.
aria-labelledby="footer-heading absolute bottom-0"
doesn't look right. This article describes its usageWishing you the best for your coming challenges.
Marked as helpful1@AlexDevOp4Posted about 2 years ago@tarasis haha thanks..
Yeah, I was trying to use Figma a bit more, and noticed if I put the width and height that was provided for desktop, mobile, and tablet the positioning looked a bit cleaner, one reason I think it was doing that is because I'm using an ultrawide monitior and I should be changing my responsiveness for normal desktops...
what do you mean "Keyboard navigation between your buttons doesn't work."?
And yes this project was most difficult project so far, especially the the middle section....
Also I noticed using tailwind then also using regular css is making it hard on me for debugging. I think I need to focus on one and stick with it.
0@tarasisPosted about 2 years ago@AlexDevOp4 if helpful you can mark it as helpful :)
Anyway, some people use a keyboard to navigate around a page, and to select buttons or links. Normally you can tab between controls & links on a page. On most builds of this challenge, including my own, you'll find that you can't tab between the two download buttons, or the three social links.
To solve that you can add
tabindex="0"
androle="link"
, see more info on mdnYou are best working with mobile and then going upwards. You don't need to do X and Y in the media queries, unless you don't want some setting escaping those particular sizes. In your case you are mostly changing the same selectors. So just start from the bottom and move up. What that means is the base is Mobile, your first media-query might be
min-width: 475
, the next justmin-width: 750
, then next justmin-width: 1280
and thenmin-width: 1440
(just example numbers)Agreed it's easier to stick to one system. I don't grok tailwind particularly so I can really provide comments on the build because of it :)
" I should be changing my responsiveness for normal desktops..." yeah, but also Ultrawide is just cool. I miss my ultawide monitor. Have you used the "Responsive Design Mode" of whatever browser you are using?
Marked as helpful0
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