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

Equalizer landing page using CSS and HTML

Matt•90
@emldevv
A solution to the Equalizer landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This project took me a very long time to complete because I was using what I knew of inserting images only from the markup. I had to write and re-write a lot of CSS as it's methods for inserting and positioning images are many and they all have trade-offs.

I reviewed a lot of info sites and other's code from completed projects and finally settled on what I submitted. So really I'm looking for comments on my HTML and CSS layout as they look pretty untidy in my attempt to just get the responsive and looking good.

Thanks.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Vanza Setia•27,715
    @vanzasetia
    Posted about 3 years ago

    Hi, Matt! 👋

    Congratulations on completing this challenge! 🎉

    This challenge is really tricky, especially in positioning the card and the background images. I did rewrite my styling once because I ended up writing messy CSS. 😆

    Anyway, some suggestions from me.

    • Alternative text for images should not contain any words that are related to image (e.g. picture, photo, logo, icon, graphic, avatar, etc). It's already an image element so the screen reader will pronounce it as an image.
    • I would recommend trying to use pseudo-element for the illustration and the background image (if they are not possible to style as background-image). This way, you can clean up the HTML from the decorative images.
    • I notice in the footer, that the logo is wrapped by an anchor tag. So, I would recommend making the alternative text as the text content for the link. Usually, the logo link would navigate the user to the home page. So, I recommend changing the alternative text to "equalizer - home". This will be useful to the screenreader users that it is a link that navigates the users to the home page. (It's just like the social media links)
    • I would recommend having a .container that limits the width of the page content. If the user has a large screen (such as 2000px) then the content would become really separated.
    • Prefer unitless numbers for line-height values to avoid unexpected results. The MDN documentation explains it well.👍

    Overall, great work. The site looks great on my desktop view and on my mobile device. 🙌

    That's it! I hope this helps. Happy 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