Last active
September 10, 2021 05:58
-
-
Save U-C-S/677794c4a884686641725b5fcb40aa69 to your computer and use it in GitHub Desktop.
Adding this Year's Github Contributions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let x = document.getElementsByClassName("ContributionCalendar-day"); | |
let y = 0; | |
for(let i = 0; i < x.length-10; i++) { | |
let val = parseInt(x[i].dataset.count); | |
if(val != NaN){ | |
y = y + val; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WHY ??
DON'T know..... Just messing with github profile page in DevTools and Tried this