What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-21 04:05:03
kotlin vs java
/* JavaScript can be used to do neat things like creating animation in HTML. ... JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser. Java is an OOP (object-oriented programming) language,... Add solution -
Javascript 2021-10-17 02:54:04
create custom html element
class className extends HTMLElement{//or any othere element you want contructor(){ super()//to call the parent class contructor this._root = this.attachShadow({mode:"open"})//attach a shadow dom for easy manipulation connectedCa... Add solution -
Html 2021-10-13 08:23:15
html video controls autoplay at page load
<!-- Video autoplay in html is a boolean attribute, which plays the video automatically when the video gets loaded on web page. --> Syntax: <video autoplay> Example: <video controls autoplay> <source src="movie.mp4" ty... Add solution -
Html 2021-10-12 03:00:10
mathJax
//put this code in html <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></sc... Add solution -
Javascript 2021-10-11 18:00:09
what is document object
document.anchors Returns all <a> elements that have a name attribute 1 document.applets Returns all <applet> elements (Deprecated in HTML5) 1 document.baseURI Returns the absolute base URI of the document 3 document.body Returns the &... Add solution