What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-12 05:33:03
share wordpress post on whatsapp without plugin
<?php $url = urlencode(get_the_permalink()); $title = htmlspecialchars(urlencode(html_entity_decode(get_the_title(), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8'); ?> <div class='social-share'> <a class='fb' target="_blank" h... Add solution -
Javascript 2021-10-05 05:07:04
javascript generate css for html page
var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = '.cssClass { color: #F00; }'; document.getElementsByTagName('head')[0].appendChild(style); document.getElementById('someElementId').className = 'cssClass'; Add solution -
Javascript 2021-09-27 16:48:03
how to write random quote machien
const getQuote = data => { // 1) here we are creating the callback function that we will pass to the JSONP request const callbackName = 'displayQuote' window[callbackName] = function(data) { delete window[callbackName] document.body.remov... Add solution -
Javascript 2021-09-22 08:57:03
how to use jquery in chrome dev tools
var jq = document.createElement('script'); jq.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); // ... give time for script to load, then type (or see below for n... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5