What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-07 15:55:03
set expiry in .htaccess
## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType im... Add solution -
Html 2021-09-07 02:57:02
coding
Hello, you searched up coding! Please read this announcement. So I am a somewhat well-known grepper code answerer. I just wanted to say that a lot of my old answers, such as "How to draw a circle in javascript" where made when I used only the p... Add solution -
Javascript 2021-09-06 20:29:02
href javascript void
<!DOCTYPE html> <html> <head> <title>Understanding JavaScript void(0)</title> </head> <body> <a href="javascript:void(0);&qu... Add solution -
Javascript 2021-09-06 20:23:02
ajax vs rest
In Ajax, the request are sent to the server by using XMLHttpRequest objects. The response is used by the JavaScript code to dynamically alter the current page Ajax is a set of technology; it is a technique of dynamically updating parts of UI without havi... Add solution -
TypeScript 2021-09-06 07:43:02
display preview of image upload react
<!-- html + Javascript --> //js <script> const handleChange = (e) =>{ const file = URL.createObjectURL(e.target.files[0]) document.getElementById("preview-img").src = file; } document.getElementById("file-inp... Add solution -
Javascript 2021-09-06 01:33:02
multidimentiional array javascript
// Javascript Multidimentional Array // 1D Array arr = Array(3); console.log(arr) // [ , , ] // 1D Array with Fill arr = Array(3).fill(2); console.log(arr) // [ 2, 2, 2 ] //2D Array arr = Array(3).fill( Array(3) ); console.log(arr); // [ [ , , ], [ ,... Add solution -
Html 2021-09-05 18:43:03
html inline javascript
<script> // javascript Code </script> Add solution