Web development
- Rio de Janeiro, RJ, Brazil
- https://codepen.io/jrrio/
- @jrrio_dev
Pinned Loading
-
jrSortTable
jrSortTable PublicJS code to sort data tables in HTML documents either by their thead or tfoot sections.
JavaScript
-
nummask
nummask PublicJS code to format numbers inside input elements with a mask such as (99) 9999-9999.
JavaScript
-
gallery-with-lightbox
gallery-with-lightbox PublicResponsive Photo Gallery and Lightbox using CSS Grid and vanilla JavaScript
CSS
-
Fetch wrapper
Fetch wrapper 1async function getData(url) {
2try {
3const response = await fetch(url);
4if (!response.ok) throw new Error(`${response.status}: ${response.statusText}`);
5const data = await response.json();
-
JavaScript Utilility functions
JavaScript Utilility functions 1// Test for numeric value.
2function isNumeric(n) {
3return !isNaN(parseFloat(n)) && isFinite(n);
4}
5 -
Date Utilities in vanilla JavaScript
Date Utilities in vanilla JavaScript 1/**
2*
3* @param date - may be either a Date object or a String representing a Date
4*/
5function lastDayOfMonth(date) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.