What do you want to save?
Add Code snippet
New code examples
-
-
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 -
Python 2021-09-24 18:54:03
how to check if user pressed enter in python
# credit to the Stack Overflow user in source link text = input("type in enter") # or raw_input in python2 if text == "": print("you pressed enter") else: print("you typed some text before pressing enter") Add solution -
Javascript 2021-09-24 14:56:02
onclick enter key
<form> <input id="myInput" placeholder="Some text.." value=""> <input type="submit" id="myBtn" value="Submit"> </form> <script> var input = document.getElem... Add solution -
CSS 2021-09-24 12:56:04
bootstrap 3.x.x progress bar striped animation css
<div class="progress progress-striped active"> <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">So... Add solution -
Javascript 2021-09-24 11:22:02
how to press enter key automatically using javascript
<form> <input id="myInput" placeholder="Some text.." value=""> <input type="submit" id="myBtn" value="Submit"> </form> <script> var input = document.getElem... Add solution -
Html 2021-09-23 03:59:03
markdown
[I'm an inline-style link](https://www.google.com) [I'm an inline-style link with title](https://www.google.com "Google's Homepage") [I'm a reference-style link][Arbitrary case-insensitive reference text] [I'm a relative reference to a reposi... Add solution -
Javascript 2021-09-22 21:39:04
How to select an Element in JavaScript
//<div id="demo-id"></div> var elem1 = document.getElementById("demo-id"); //<div class="demo-class"></div> var elem2 = document.getElementsByClassName("demo-class"); //<div name="dem... Add solution -
Html 2021-09-21 17:49:03
align text without css
<html> <head> <title>Document</title> </head> <body> <!-- Align Text in Center --> <p id='aligned-text' align='center'>this is some text in the center</p> <!-- Align Images --> <div i... Add solution
Best helpers
Ranking is empty