GitXplorerGitXplorer
d

social-media-stats

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
f5fabf239c820b90e6805f05850a9aef28cee5ff

Update Read.me

dddoyediran committed 4 years ago
Unverified
2edc002a84a0fc463663764ff992717b0fd3aba3

Update

dddoyediran committed 4 years ago
Unverified
7ce06dbb0db9912da575fc9c39186880d55d6764

first commit

dddoyediran committed 4 years ago

README

The README file for this repository.

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

  • Couldn't figure out how to do gradient for border-top for the instagram stats (both mobile and desktop) as shown in the image below.

Screenshot 1

  • Desktop view: There is a huge gap between the "stats div" and the "daily stats div" as shown in screenshot below.

Screenshot 2

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Grid
  • Mobile-first workflow

What I learned

This really forced me to improve my HTML, CSS and JS knowledge:

HTML

a. How to group elements that belongs to a same parent together to give them same style if they share same style and futher give them specific style when necessary.

CSS

a. How to do mobile first design using css "@Media screen to define the size of the screen" and same applies to other device(s) sizes.

Example:

/* Mobile style */
@media screen and (min-width: 375px) {

}

b. How to use "grid - display" to do layout in CSS - very important thing to know in css.

Example:

/* Grid */
.main-comp{
        display: grid; 
        grid-template-rows: repeat(3, auto); 
}

/* The CSS style takes a class of main-comp that has 3 divs or 3 elements and breaks them to a 3 horizontal layout or divided it into 3 seperate rows on the screen with auto size of the screen.   */

Continued development

  • Understand more about CSS
  • Convert this to React.

Author

Acknowledgments

This is where you can give a hat tip to anyone who helped you out on this project. Perhaps you worked in a team or got some inspiration from someone else's solution. This is the perfect place to give them some credit.