Abhishek's public fiddles
-
Date endec
Encode date to base 36 format and decode it back
-
Md5 example
Display md5 Hash on a webpage.
-
bexhkamj
No-Library (pure JS), HTML, CSS, JavaScript
-
isPalindrome #4
No-Library (pure JS), HTML, CSS, JavaScript
-
isPalindrome #3
No-Library (pure JS), HTML, CSS, JavaScript
-
isPalindrome #2
No-Library (pure JS), HTML, CSS, JavaScript
-
isPalindrome #1
No-Library (pure JS), HTML, CSS, JavaScript
-
Cast as template
No-Library (pure JS), HTML, CSS, JavaScript
-
Custom log method
No-Library (pure JS), HTML, CSS, JavaScript
-
Hacking JS console.log
No-Library (pure JS), HTML, CSS, JavaScript
-
getRandom
No-Library (pure JS), HTML, CSS, JavaScript
-
Shiftplan
jQuery (edge), HTML, CSS, JavaScript
-
TensorFlow.js
No-Library (pure JS), HTML, CSS, JavaScript
-
Example
No-Library (pure JS), HTML, CSS, JavaScript
-
setupLocale
No-Library (pure JS), HTML, CSS, JavaScript
-
Difference between double & single NOT
No-Library (pure JS), HTML, CSS, JavaScript
-
jcLj04s9
No-Library (pure JS), HTML, CSS, JavaScript
-
Code Challenge
Consider an array of n decimal integers named elements. We want to rearrange elements according to the following rules: Sort the integers in ascending order by the number of 1's in their binary representations. For example, 710 → 1112 and 810 → 10002, so 8 (which has single 1 in binary) would be ordered before 7 (which has triple 1's in binary). Two or more integers having the same number of 1's in their binary representations are ordered by increasing decimal value. For example, 510 → 1012 and 610 → 1102 both contain double 1's in their binary representation, so 5 would be ordered before 6 because it has the smaller decimal value. Complete the rearrange function in the editor below. It has one parameter: an array of n integers, elements. The function must sort the elements array according to the rules above and return the sorted array.
-
House Affordability Calculator
Assessing the affordable amount for buying house based on loan
-
evyxejxs
No-Library (pure JS), HTML, CSS, JavaScript