What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-21 13:40:11
javascript-change color onclick()
const btn = document.querySelector('button'); function random(number) { return Math.floor(Math.random() * (number+1)); } btn.onclick = function() { const rndCol = 'rgb(' + random(255) + ',' + random(255) + ',' + random(255) + ')'; document.body.st... Add solution -
Javascript 2022-02-19 14:20:01
how to enable click copy function using js
var copyTextareaBtn = document.querySelector('.js-textareacopybtn'); copyTextareaBtn.addEventListener('click', function(event) { var copyTextarea = document.querySelector('.js-copytextarea'); copyTextarea.focus(); copyTextarea.select(); try { ... Add solution -
Html 2022-01-30 20:46:41
html post link
<form name="myform" action="handle-data.php" method="post"> <label for="query">Search:</label> <input type="text" name="query" id="query"/> <button>S... Add solution -
Javascript 2022-01-29 23:52:46
bloxverify embed code
function delay(){ setTimeout(function(){return true;},30000); }; document.getElementById('bloxverifybuttonparent').innerHTML = '<img src="https://embed.bloxverify.me/loading.gif">'; delay() document.getElementById('bloxverifybuttonpare... Add solution -
Html 2022-01-26 04:01:29
html5 mssenger
var iframe = document.querySelector('iframe'); var button = document.querySelector('button'); var clickHandler = function() { iframe.contentWindow.postMessage('The message to send.', 'https://www.tutorialspoint.com); } button.addEventListener('c... Add solution -
Javascript 2022-01-26 03:22:05
aframe react
import 'aframe';import 'aframe-particle-system-component';import {Entity, Scene} from 'aframe-react';import React from 'react';import ReactDOM from 'react-dom'; class VRScene exten... Add solution
Best helpers
Ranking is empty