jackz070 / Clipboard-Landing-Page--frontendmentor-challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Clipboard landing page solution

This is a solution to the Clipboard landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page

Links

My process

This challenge was my first attempt at writing a lot of code before previewing it. It went really well for me! After doing coming up with the design system for this project I've wrote whole markup and created many global classes before previewing the result. It was really refreshing to employ more thinking and conceptualizing than viewing and trial and error approach.

I've then built the page, desktop-first, in a couple of hours. The media queries are a all over the place, I hope to fix them.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Desktop-first workflow
  • A lot more conceptualizing than I've ever done before
  • Global CSS classes instead of specific selectors when possible

What I learned

I've learnt of the value of certain selectors I've avoided using before, in this case the so-called Lobotomized Owl Selector (more info here: https://alistapart.com/article/axiomatic-css-and-lobotomized-owls). It allowed me to get the flow of the page much easier, with all the content boxes that have another before them receiving desired margins.

.container > * + * {
  margin-top: 6rem;
}

Continued development

I'm hoping to fix the media queries in this project, and work on ordering them better in the future. The three general topics I'm focusing on are:

  • fluid designs, so that my media queries won't involve repeating so much code again
  • understanding and using the 'funny' selectors
  • choosing projects that are more complex so that it makes practicing using sass more beneficial

Useful resources

Author

About


Languages

Language:CSS 55.5%Language:HTML 44.5%