What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-04 20:32:03
javascript check if window resized
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Window Resize Event</title> </head> <body> <div id="result"></div> <script> ... Add solution -
Other 2021-09-04 11:51:02
mdbootstrap
<!-- Font Awesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"> <!-- Google Fonts --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family... Add solution -
Javascript 2021-09-04 11:35:03
angular google maps
Step 1: Creating new project Create a new project using command ng new gmaps-ng5 Step 2: Install Google Maps types for typescript support. Run command npm install --save @types/googlemaps Step 3: Link Google Maps JavaScript CDN inside index.html <scrip... Add solution -
Other 2021-09-04 03:07:02
Declaring Javascript Dates
/* Declaring a JavaScript date : In JavaScript Date objects are based on a time value that is the number of milliseconds since 1 January, 1970 UTC. You can declare a date in the following ways :*/ new Date(); new Date(value); new Date(dateString); new D... Add solution -
Html 2021-09-03 19:41:02
django bootstrap where to put the files
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width... Add solution -
Javascript 2021-09-03 16:53:02
add formdata javascript
var formData = new FormData(); formData.append("username", "Groucho"); formData.append("accountnum", 123456); // number 123456 is immediately converted to a string "123456" // HTML file input, chosen by user formD... Add solution -
PHP 2021-09-03 15:51:05
php in javascript
If your whole JavaScript code gets processed by PHP, then you can do it just like that. If you have individual .js files, and you don't want PHP to process them (for example, for caching reasons), then you can just pass variables around in JavaScript. F... Add solution