Bruno's public fiddles
-
CSS Variables (scss)
CSS variables offer similar flexibility to Sass’s variables, but without the need for compilation before being served to the browser. For example, here we’re resetting our page’s font and link styles with CSS variables.
-
Regex Validate Form
Validate a form using regex expression.
-
Call and apply into an object
Call and apply using Singleton JavaScript Design Pattern
-
Flex box - Put footer on end
Put footer on end of the page if the content is empty.
-
Clipboard Copy
Select and copy any text to clipboard from any element.
-
Fibonacci ES6
Find Fibonacci sequence.
-
Function order numbers
Function order numbers with many passing parameters.
-
Menu hamburger circle effect
Pretty cool menu with circle effect.
-
Countdown
Countdown until zero.
-
Deck of Cards - JavaScript Generate a card
Generate random cards with JavaScript.
-
Order numbers without sort using map and filter ES6
Order numbers without sort javascript function. Using feature ES6 map, filter, arrow functions. And tidy all with closuje.
-
Validate a form replace spaces on keyup.
Replace spaces and copy field values to anothers form by name.
-
Mascara e validação de CPF
Insere mascara e valida se o CPF é válido pelo digito verificador. Cria uma máscara para o telefone com o 9 digito.
-
Sort numbers without sort function
Get and filter numbers with pure JavaScript without sort function.
-
Thousand separator number
Separate thousand number and toFixed decimal.
-
Remove object by id
Remove an element from object passing an id to it.
-
Get Query Params with JS
Get Href Params using JavaScript
-
ScrollTo without jQuery
ScrollTo without jQuery and use ECMA6
-
ECMA6 Arrow Function - Let and Const
The difference between let and const in arrow functions.
-
New Split Using Prototype
Split any thing with javascript prototype function. This can be use in a gulpfile.js to open files and paths.