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

Flexbox Mania - Clipboard Landing Page Project

sass/scss
Robert•170
@waffleflopper
A solution to the Clipboard landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


On the first run through I got the mobile version looking great (without figma because I didn't pay for Premium, yet), however I made the mistake of not taking the desktop version into account when I got the layout set up. The result quickly became a complicated mess with special classes and cases all over the CSS document.

I learned that sometimes (read: a lot of the time) flex-boxes are a great tool to utilize for responsive layouts and there's not necessarily anything wrong with nesting them to get things working correctly.

Any feedback is always appreciated! I'm working on improving my self-taught skills in front-end development to set myself up for a career in web development when I leave the US Army in about a years time. So any tips, hints, resources, etc. that you feel like throwing my way will be greatly appreciated. Cheers!

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Vanza Setia•27,715
    @vanzasetia
    Posted over 2 years ago

    Hi, Robert! 👋

    The alternative text of the logo should not be "logo". It should be the name of the company which in this case is "Clipboard". Also, you don't need to mention the size of the logo.

    Also, don't include the word "logo" for the alternative text of the images inside <section class="logos">. It is already an image element (<img>) so the screen reader will pronounce it as an image.

    For the download buttons, use <a> with download attribute instead.

    Not every image needs alternative text. Decorative images should not have alternative text (alt=""). This will tell the screen reader to skip over the image. As a result, it saves screen reader users time navigating the page.

    For your information, decorative images are images that don't add any information and serve only aesthetic purposes.

    Links must have accessible names. Right now, social media links do not have text content. So, I recommend usingaria-label for each anchor tag to provide an accessible name. This way, screen readers know how to pronounce the link.

    After that, you should hide the social media icons from assistive technologies. To do that, you need to use aria-hidden attribute to prevent them from getting pronounced by screen readers.

    Never use px unit for font sizes. Use rem or em instead. Relative units such as rem and em can adapt when the users change the browser's font size setting. Learn more — Why you should never use px to set font-size in CSS

    Remove font-weight: 400; from the <body> styling. It is already the default styling.

    Making the page layout into a desktop layout at 380px width is too early. I recommend adjusting the breakpoint. The site should only have the desktop layout when there is enough space.

    I hope this helps. Have fun coding! 😄

    Marked as helpful

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
Frontend Mentor logo

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit all CSS, SCSS and Less files in your repository.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

How does the JavaScript validation report work?

When a solution is submitted, we use eslint to run an automated check on the JavaScript code.

The report picks out common JavaScript issues such as not using semicolons and using var instead of let or const, among others.

The report will audit all JS and JSX files in your repository. We currently do not support Typescript or other frontend frameworks.

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub