Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Article preview component with CSS and Vanilla Javascript

accessibility
Hania B.•1,280
@techanthere
A solution to the Article preview component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Glad that finally, I can confidently add the accessibility tag with the solution :) It's a very important aspect of frontend development that should never be missed. Anyways, I am posting some solutions after a while and glad to add attributes that I have never used before in any solution such as clip-path, mix-blend-mode, and the use of svgs within the HTML and sr-only class which is a good practice. Happy Coding :) Since I am new to javascript so any suggestions are more than welcome.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Hania B.'s solution.

Join 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License