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.
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
- Solution URL: Github Repository
- Live Site URL: Live Site
- HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- jQuery - jQuery
- 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();
});
- Learning more JavaScript
- Need to focus more on writing semantic HTML
- Kevin Powell - The videos on his youtube channel helped me get better with CSS
- Linkedin - Sachin Jadhav
- Github - @Sachin9328
- Frontend Mentor - @Sachin9328