andresmtzf / time-tracking-dashboard

This is a solution to the Time tracking dashboard challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Home Page:https://time-tracking-dashboard-535rezvzb-andresmtzf.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Time tracking dashboard solution

This is a solution to the Time tracking dashboard challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

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
  • Switch between viewing Daily, Weekly, and Monthly stats

Screenshot

Desktop Preview

My own design preview for the Time tracking dashboard coding challenge

Mobile Preview

My own design preview for the Time tracking dashboard coding challenge

The preview of my solution.

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • JavaScript
  • BEM (Block, Element, Modifier)

What I learned

For this solution I reaffirmed my abilities of HTML y CSS. For first time I used the methodology BEM, to write a CSS. With the nomenclature I could have a CSS file easily to read, understand and scalable. In addition, BEM helps to organize CSS classes in independent modules. In this case, even though this is a short exercise, is useful to avoid CSS nest.

I take this solution to put in

To see how you can add code snippets, see below:

<div class="card">
        <div class="card__background">
          <img class="card__image" src="./images/icon-work.svg" alt="work-ico">          
        </div>
</div>        
.card {
  ...
}
.card__background {
  ...
}
.card__image{
  ...
}

Useful resources

  • CodingTube - This helped me for understand how could separate in blocks the elements of the dashboard. I really liked his way to explain.

Author

Happy Coding🤖

About

This is a solution to the Time tracking dashboard challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

https://time-tracking-dashboard-535rezvzb-andresmtzf.vercel.app/


Languages

Language:CSS 46.9%Language:JavaScript 29.0%Language:HTML 24.1%