Skip to content

Sachin9328/time-tracking-dashboard-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Mobile Layout Desktop Layout

Links

My process

Built with

  • HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • jQuery - jQuery

What I learned

  • jQuery focus() Method
  • CSS grid-template property
  • jQuery ready() Method

Code Snippets:

/*CSS grid-template property*/ 
.container {
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: 
        "user work play study"
        "user exercise social self-care"
        "attribution attribution attribution attribution";
    margin: auto auto;    
}
//jQuery focus()
$('#user__frequency__weekly').focus();
//jQuery ready()
$(document).ready(function() {
    $(daily).hide();
    $(monthly).hide();
});

Continued development

  • Learning more JavaScript
  • Need to focus more on writing semantic HTML

Useful resources

  • Kevin Powell - The videos on his youtube channel helped me get better with CSS

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published