@vanzasetia
Posted
Hi, Raymart! 👋
Congratulations on finishing this challenge! Nice work on this challenge! 👏
It looks good on both my mobile and desktop devices. Good job! 🙌
Some feedback:
- I notice that the About Us page doesn't contain any
h1
. I would recommend making the About Us as ah1
. - Usually, the logo is wrapped with a link that will navigate the user to the home page. I would suggest doing that.
- I try your website in
prefers-reduced-motion
and I still see the animation when I scroll and the transition on hover. I would expect that there will be no animation and transition. - I also try to see the site when the JavaScript is disabled and as a result, I only see content in
footer
andheader
. The text content inside themain
element is gone. I would recommend having anoscript
that will tell the user to enable JavaScript.
I hope this helps! Keep up the good work! 👍
Marked as helpful
@pikapikamart
Posted
@vanzasetia Hi Vanza! Glad that you liked the site!
For the feedbacks:
- Glad that you noticed that one!! I mistakenly assume that I used the same component for each of the hero section of the page to hold the h1 text, but used a different one of the about us page. I was confused at this at first since the h1 text on the design is not same for each one so I had to use other stylings for the about page. Thanks for this!
- For the logo part, I intended that one to not be on a link since the
home
link is already present on the navbar. Whenever I have a navlink that contains the homepage link, I don't wrap the logo in a link to avoid a duplicatearia-current="page"
being announced 2 times when traversing links :>> - Apparently, framer-motion, the animation library that I used doesn't really removed all animations even if the user toggles the system's animation, the libray will still add the
opacity
transition for each one of the component. I search about this one and apparently there are no other workaround. I'm still thinking if I want to use a library again on other projects because I can't really control them compared to just using my own code. But hey, that you mentioned this one since I misspelled myprefers-reduced-motion
toprefers-reduce-motion
!! - Lastly for the content, like what I mentioned, can't control the library since it uses javascript to show those animations, but in terms of seo or using assistive-tech, the contents are still there, just hidden visually. Haven't added a
noscript
text on this one as well since I don't have any good reason to actually first think of user disabling their javascript except for like pop-ups or ads right. But thanks for this bit as well..
Thanks again Vanza!
@vanzasetia
Posted
@pikapikamart You're welcome! Glad to help! 😀
About disabling JavaScript, usually, the users that disable JavaScript are the users that don't want to be tracked. For example, whenever I need to visit a site that has a lot of trackers or ads like the news sites, I like to disable JavaScript. That way, I don't need to see any annoying ads pop-up.
In this case, of course, I have no reason to see your site without JavaScript. It's just something that I want to mention. 🙂