Skip to content

Instantly share code, notes, and snippets.

View santhosh17s's full-sized avatar

Santhosh santhosh17s

  • Altan Calsoft Labs
  • Chennai
View GitHub Profile
@santhosh17s
santhosh17s / input-value-change-arrowKeys.html
Last active March 5, 2019 09:46
Input text value need to change based on arrow key - left & right change cursor position and up & down increment or decrements respectively
<!DOCTYPE html>
<meta name="robots" content="noindex">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
@santhosh17s
santhosh17s / greater-number.js
Last active October 23, 2019 06:51
Combination of greater number from random 10 digits.
/*
Take 10 random number. From that to get combination of greater number.
Example to take number - 4132 And result to be 4321.
*/
let randomNumber = 3159705179;
let greaterNbr;
let randomNumberArray = (''+randomNumber).split('');