[ Launch: D3 Pie Chart ] daedcff56b79406c8189f3efd4a95c0d by jekkilekki
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
license: gpl-3.0 |
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
license: gpl-3.0 |
[ Launch: Bar Chart ] 5e1d8ab3bc392592e33648e24e0912d6 by jekkilekki
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
section | twenty14 | twenty15 | twenty16 | |
---|---|---|---|---|
Physical | 3 | 4 | 6 | |
Mental | 5 | 4 | 6 | |
Spiritual | 4 | 3 | 2 | |
Career | 2 | 5 | 6.5 | |
Financial | 4 | 2 | 7 | |
Family | 5 | 6 | 4 | |
Relationships | 3 | 5.5 | 5 | |
Lifestyle | 4 | 5 | 3 |
These website building helpers are originally extracted from the WordPress TwentyTwenty Theme and are intended to provide easy access to some of the most common basic styles for a website.
This Gist
will be occasionally updated with my own preferences for these styles. Files include the following:
File | Purpose |
---|---|
PHP |
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 STORE_BUTTON = document.querySelector('.add-item-button'); | |
let STORE_INPUT = document.getElementById('add-item-input'); | |
// Store button | |
STORE_BUTTON.onclick = function() { handleAdd() }; | |
// Add item on keyboard ENTER | |
STORE_INPUT.addEventListener('keyup', function(e) { | |
if ( e.keyCode === 13 ) { | |
STORE_BUTTON.click(); |
OlderNewer