What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-30 18:20:54
reorder them so that more specific routes come before less specific routes
const express = require('express'); const app = express(); const port = 3000; const plants = ['Monstera Deliciosa', 'Corpse Flower', 'Elephant-Foot Yam', "Witches' Butter",]; app.get('/awesome', (req, res) => { res.send(` <h1>P... 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-29 09:21:23
html image and text side by side
<!-- In Your Css Code --> <style> img { width: 50%; /*image width*/ float: left; /*image position*/ } p { width: 50%; float: right; } /*If you face any problem make sure the <body> element has no padding. If y... Add solution -
Other 2022-01-28 22:31:09
woocommerce custom sale banner, sash
add_filter('woocommerce_sale_flash', 'ydcoza_custom_sales_badge'); function ydcoza_custom_sales_badge() { $url = site_url().'/wp-content/uploads/2021/03/best_seller_sash.png'; $img = '<div class="ydcoza-sale-banner"><img src="'... Add solution -
TypeScript 2022-01-26 05:31:20
react functional components modal
import React, { useEffect } from "react";import { createPortal } from "react-dom";import styled from "styled-components";import PropTypes from "prop-types"; const Portal = ({ children }) => { const modalRoot = ... Add solution -
PHP 2022-01-23 06:25:39
making a photo grallery in craft cms 3
{% set vertParams = { height: 800, mode: 'crop', position: 'center-center', } %} {% set horzParams = { width: 800, mode: 'crop', position: 'center-center', } %} {% set thumbParams = { width: 120, height: 120, mode: 'crop', position: 'c... Add solution