Hi there, your solution looks good, is nicely responsive and I love the animation on the header, here are some suggestions concerning accessibility.
The pattern images are only for decoration, we don’t need the screen readers to read their source path, therefore we have to hide them from assistive technologies using aria-hidden=” true”
The close button on the navigation menu is a button, so use the right HTML semantic element which is a <button> instead of a <div>.
Hi there, since this is a temporal solution I am dropping some comments that may help you to improve your solution next time.
On mobile screens, the text is overlapping, I think setting an explicit height may cause this kind of problem, so let the container shrink according to the text size.
Anything that is clickable or has a hover effect means it’s an interactive element, the toggle arrow actually it’s a button, so you can wrap the <img> inside a <button aria-label=” toggle arrow”>.
Illustration images are for decoration purposes, there is no information to convey so it's better to hide them from the screen readers using aria-hidden=” true”.
<body> is not taking the total height when scaling down to mobile screens, I would recommend using min-height:100vh instead of heigh:100vh to avoid this problem.
Thanks to F.E.M. for putting up the site and setting up these free challenges.
Feed back is welcome on any parts, but in particular I'm looking for anything, that would be more likely done in a working environment, if this had been done to work with a team of developers what kind of change would have been made?
Hi there, congratulation on completing this challenge, taking a quick look at your solution I think there are a couple of things that need some improvement
On some pages, there is a horizontal scroll bar, setting an explicit width to any container or element may cause this problem. try to fix that.
The background images are a bit more zoomed out.
On the Destination page (desktop version), on the planets navigator, options are overlayed on top of each other.
Try to use the right Html semantic elements, for instance in navigators, instead of using <h5> inside a <div>, <ul> is more adequate for that.
Headings in HTML [<h1> ..... <h6>] are used to construct a table of contents for a document, so avoid using heading elements to resize text. Instead, use the CSS font-size property.
My first difficulty was align the dice and circle in the middle of the card. Then I learned two different ways to align content. The first one using grid/flex and the another was using margin( left/right) and the position.
Hi there, congratulation for completing your first challenge here 🎉, keep going, you gonna learn a lot by completing different challenges 💪
I noticed that you are not making an API request to fetch data, if this still a bit challenging for you, I recommend starting with challenges that can be done only by HTML, CSS, and a bit of js there are plenty of them here.
The dice element it’s a button so it’s better to use the <button> tag. Take the habit of using the right HTML semantic elements for the right purpose.
Also as mentioned before, use GitHub to submit your solutions
Light and dark mode while trying to keeping the users choice was fun to figure out so that the app would keep the users selection by using local storage
Hi there, Good job on this challenge, I am dropping some comments that may help you to improve your solution even further.
The App container class=” App” is not taking the full-screen height, so instead of writing height:100vh, min-height:100vh will do the job.
I recommend using a different shadow to the to-do list wrapper, it looks a bit odd on the dark mode.
Sun/Moon toggle actually it is a button, so instead of using <div>, use <button> with an aria-label=” toggle theme”, since there is no textual indication of the button purpose, we still need to provide alternative text for users who use assistive technology, (the same thing applied to the delete button and the checkbox)
Hi there, Good job on this challenge, your solution is nicely responsive, semantically looks good, I loved that you have used the <blockquote> tag to wrap the advice.
The dice button is not centered when we switch to tablet screens.
Add an aria-label to the dice button so it will be recognized for those who are using screen readers.
Hi there, Good job on this challenge, your solution is nicely responsive, though there are some cards that have different sizes compared to the others on mobile screens.
Here are comments about semantics and accessibility
There are two <h2> here, the title “where in the world” and “dark mode” the theme button, first of all, button text shouldn’t be a title, in this case, it is better to use <h1> where in the world</h1> since it is a single-page website.
When it comes to interactive elements, instead of using <div> for the theme button use a <button>.
Add an alt text to the flag images since it is an informative image.
Screens between (750px and 480px), when clicking on the arrow toggle to filter by region, the options list float to the left instead of sitting under “fitter by region”.
The cards are clickable elements, but you haven’t provided anything such as an anchor tag or a button that suppose to do that, I recommend reading about accessible cards.
Hi there, Good job on this challenge I would love to drop some comments that may help you to improve your coding skills even further
Choose the right HTML semantic element, you have chosen only <div> to most of your elements, for instance instead of using a <div> for the dice button use a <button> because it’s an interactive element.
When scaling down to small screens the pattern divider is not fitting anymore within the advice container try to fix that and make it more responsive.
It is better to give your solutions an <h1> every website need to have an <h1> title, in this case, it is a bit subtler, so you can choose <h1> Advice generator</h1> then make it sr-only (screen reader only ) since there is no <h1> in the design .