Skip to content

Instantly share code, notes, and snippets.


Danny Cohen mybundletv

View GitHub Profile
mybundletv / fake.js
Last active Sep 16, 2020 — forked from wesbos/fake.js
View fake.js
let currentColor = '#ebedf0';
let clicking = false;
const boxes = document.querySelectorAll('.js-calendar-graph-svg rect');
const graph = document.querySelector('.js-calendar-graph-svg');
// code for switching the current color
function handleColorChange(e) {
const el = e.currentTarget;
currentColor =['background-color'];
You can’t perform that action at this time.