What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-16 23:56:03
jquery like selector in javascript
var $ = (function () { 'use strict'; /** * Create the constructor * @param {String} selector The selector to use */ var Constructor = function (selector) { if (!selector) return; if (selector === 'document') { this.elems = [document]; ... Add solution -
Javascript 2021-09-16 21:19:03
find highest value in array javascript
var peopleData = [ { name: "Paul", height: 180, age: 21 }, { name: "Johnny", height: 198, age: 43 }, { name: "Brad", height: 172, age: 49 }, { name: "Dwayne", height: 166, age: 15 } ]; //Find bigge... Add solution -
Javascript 2021-09-16 16:52:02
generate random color jquery
$("#btn").click(() => { var colorCode = "1234567890abcdef"; var color = ""; for (var i = 0; i < 6; i++) { color += colorCode.charAt(Math.floor(Math.random() * colorCode.length)); } $("#hex").html... Add solution
Best helpers
Ranking is empty