What do you want to save?
Add Code snippet
New code examples
-
-
C# 2021-09-26 00:44:02
unity ads tutorial
using UnityEngine; using UnityEngine.UI; using UnityEngine.Advertisements; // how to start a rewarded ad in unity games after pressign a button [RequireComponent (typeof (Button))] public class RewardedAdsButton : MonoBehaviour, IUnityAdsListener { ... Add solution -
Javascript 2021-09-24 15:36:02
react keep screen on
// Download the nosleep.js bundle // npm install nosleep.js // Import and declare NoSleep // REACT CODE STARTS HERE import React from 'react'; import NoSleep from 'nosleep.js'; var noSleep = new NoSleep(); const WakeButton = () => { return( <div&... Add solution -
Other 2021-09-23 20:30:02
request optional permission in chrome extension
document.querySelector('#my-button').addEventListener('click', function(event) { // Permissions must be requested from inside a user gesture, like a button's // click handler. chrome.permissions.request({ permissions: ['tabs'], origins: ['http://... Add solution -
Javascript 2021-09-18 23:44:02
react change button color
The react Button component renders the native button on each platform it uses. Because of this, it does not respond to the style prop. It has its own set of props. The correct way to use it would have been <Button color="#ff5c5c" title=&quo... Add solution -
Html 2021-09-17 16:32:01
reset form in react
<!-- you just need a button type of reset --> <form> <div> <label for="name">Name</label> <input type="text" id="name" placeholder="name" /> </div> <div> ... Add solution -
Other 2021-09-17 10:29:04
keynote Modify data for a chart:
Modify data for a chart: edit data button Add solution -
CSS 2021-09-09 08:26:03
html css projects with source code
* { font-family: 'Montserrat', sans-serif; padding: 0px; margin: 0px; font-weight: 900; } .container-fluid { padding: 0% 10%; } #title { background-image: linear-gradient(to bottom, rgb(255, 0, 43), rgba(255, 81, 0, 0.904)); ... Add solution