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

Fully Responsive Landing Page using CSS Preprocessor SASS/SCSS

sass/scss
Dhairyash Gupta•80
@Dhairyash-1
A solution to the Manage landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)
Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Grace•32,130
    @grace-snow
    Posted over 2 years ago

    Hi

    This looks fabulous but immediate problems become apparent once I look at the code...

    1. Alt descriptions must describe an image if it is valuable and that includes any text on that image. For example, the logo alt must say what the logo says. Alt is not code like a class name, it is a human readable description of what an image looks like
    2. Do not repeat nav markup twice. Have the correct markup once and change how it is displayed using css
    3. The nav toggle must be done with a button that is accessibly labelled and has an aria expanded attribute. This button must be inside the nav, directly before the list of links it is toggling
    4. The list of nav links should be in a list element
    5. Overlays should be done with pseudo elements. You should never have totally empty divs in html (expect maybe aria live regions that are due to be populated via js)
    6. Get started would navigate to another page so should be an anchor tag just like all the other nav links
    7. You must use a main elements. The sections can go inside that
    8. Not essential, but the content that is numbered 01 02 03 implies to me that should be in an ordered list
    9. Never skip heading levels. You have gone from a h2 to a h4. They must be in order
    10. Consider changing the testimonial markup to a figure with figcaption and blockquote
    11. It is a WCAG failure to auto animate the testimonials like this. It would be raised as a critical bug in any audit because users have no way to pause or stop the movement. Instead users should be able to swipe AND click/keyboard select the buttons to move between them.
    12. It is very well established that social icons are clickable links. That means you must use anchor tags that are properly labelled
    13. If using svgs inline like this, they need to be aria-hidden true and focusable false. (Label the link in a different way, not in the svg code)
    14. You are missing a nav element with list of links inside for the footer. Once you've added that you will need to label/accessibly name both navs on the page (ie label the header nav as "main" and footer nav as "footer")
    15. The email sign up is still a form even with only one input
    16. Inputs must always be labelled
    17. Not wrong, but you are using the old input type submit. This was from before the button element existed. Now you should be using the more recent element - the submit button
    18. Next time work mobile first
    19. You are heavily nesting CSS selectors, making this css highly specific and impossible to maintain or scale. Break this habit ASAP. Use single class selectors as much as possible
    20. Do not change html font size like this!! I can't stress this one enough. You are making the site inaccessible to millions by doing this. Leave the defaults alone. I'll be writing more about this on fedMentor.dev in the next couple of weeks
    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.

Frontend Mentor for Teams

Frontend Mentor for Teams helps companies and schools onboard and train developers through project-based learning. Our industry-standard projects give developers hands-on experience tackling real coding problems, helping them master their craft.

If you work in a company or are a student in a coding school, feel free to share Frontend Mentor for Teams with your manager or instructor, as they may use it to help with your coding education.

Learn more

Oops! 😬

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

Log in with GitHub