Skip to content

Social Media Dashboard displaying users statistics and follower change percentage. Made responsive with a mobile first workflow and includes a dark mode toggle.

Notifications You must be signed in to change notification settings

kbrandon19/Social-Media-Dashboard

Repository files navigation

Frontend Mentor - Social media dashboard with theme switcher solution

This is a solution to the Social media dashboard with theme switcher 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
  • Toggle color theme to their preference

Screenshot

Mobile-light Desktop-light Mobile-dark Desktop-dark

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Javascript
  • Flexbox
  • Mobile-first workflow

What I learned

With SCSS I was having a hard time determining how to include :hover since I normal do it with CSS. In SCSS it's all about nesting so it only made sense that it would go within the element you're trying to manipulate.

I also learned about using labels and buttons for the toggle. This was my first time trying this so I am most certainly pleased.

.example{

width:100%;
height:auto;
background-color:#d3e3e3;
border-radius:15px;
transition: background-color .4s ease;
  
  &:hover{
    background-color:#a3a3a3;
  }
}

Continued development

I want to focus more on understanding Flexbox better and how it interacts with elements inside it and vice versa. Not only that but I want to incorporate more Javascript within my work.

Useful resources

Author

About

Social Media Dashboard displaying users statistics and follower change percentage. Made responsive with a mobile first workflow and includes a dark mode toggle.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published