What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-26 23:33:03
js tree example
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>jsTree test</title> <!-- 2 load the theme CSS file --> <link rel="stylesheet" href="dist/themes/default/style.min.cs... Add solution -
Javascript 2021-09-26 21:56:02
how would you create a new h1 element with javascript
<!DOCTYPE html> <html> <body> <p>Click the button to create a h1 element with some text.</p> <button onclick="myFunction()">Click to create</button> <script> function myFunction() { var mySt... Add solution -
CSS 2021-09-26 21:34:07
css slider
<!--automatic slidshow--> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * {box-sizing: border-box;} body {font-family: Verdana, sans-seri... Add solution -
Html 2021-09-26 21:19:04
hide div on page load
<html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(func... Add solution -
Java 2021-09-26 19:29:04
java multiline string
//text blocks were introduced in Java 13 as a Preview feature and in Java 15 as a full feature: String a = """"""; // no line terminator after opening delimiter String b = """ """; // no line ... Add solution -
Javascript 2021-09-25 23:24:02
javascript making a tag game
<!-- A SIMPLE SNAKE GAME MADE BY HTML AND CSS --> <!DOCTYPE html> <html> <head> <title></title> <style> html, body { height: 100%; margin: 0; } body { background: black; display: flex;... Add solution -
Javascript 2021-09-25 20:04:06
how to create a paragraph in javascript dynamically
<html> <head> <title>t1</title> <script type="text/javascript"> function addNode() {var newP = document.createElement("p"); var textNode = document.createTextNode(" This is a new text n... Add solution