What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-20 20:42:11
how to automatically create hyperlink in readme
/* Here is javascript code for automatically getting link attached to content of readme.md file. Full Code - https://gist.github.com/SBZed/490f5d9eac525de02f610a28f0c9453c */ LinkHeadingToContent(headingText) { headingList = headingText.split('\n'); ... Add solution -
Javascript 2021-10-19 08:58:04
merge sort js example
// Merge Sort Implentation (Recursive) function mergeSort (unsortedArray) { if (unsortedArray.length <= 1) { return unsortedArray; } const middle = Math.floor(unsortedArray.length / 2); const left = unsortedArray.slice(0, middle); co... Add solution -
Javascript 2021-10-17 02:11:03
react pagination scroll
import { useState, useEffect, useCallback } from 'react' export const LoadMoreItem = (props) => { const [increment, setIncrement] = useState(4) const [disabled, setDisabled] = useState(false) const [hidden, setHidden] = useState(false) useEffect(... Add solution -
Html 2021-10-16 22:57:04
input date default value html
<!-- HTML --> <input type="date" id="theDate"> <script> // JQuery $(document).ready( function() { $('#theDate').val(new Date().toDateInputValue()); }); // Pure JS document.getElementById('theDate').v... Add solution -
Javascript 2021-10-13 19:38:03
create tic tac toe game in react using jsx files
function Square(props) { return ( <button className="square" onClick={props.onClick}> {props.value} </button> ); } class Board extends React.Component { renderSquare(i) { return ( <Square val... Add solution -
Javascript 2021-10-13 07:18:07
how to define args using param discord.js
//Seperate Arguments let seperateArgs = args[0]; //0 being the first argument //Input "hello world" //Output "hello" //Full Arguments let fullArgs = args.slice(0).join(' '); //Input "hello world" //Output "hello world&q... Add solution -
Best helpers
Blank
+5
Grin
+5
Hwsolutions
+5
Charlemagne
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
Highlightman
+5
Paul Knight
+5
Karl
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Zkanoca
+5
Frank Jaeger
+5