<!DOCTYPE html>
<html>
<style>
h1:hover {
background-color: rgb(238, 7, 7);
width: fit-content;
margin-left: 20%;
}
</style>
<body>
<h1>md asif mahmud </h1>
<button >Click here </button>
<p id="demo"></p>
<p id="demoo">Click "Remove", and this paragraph will be removed from the DOM.</p>
<button >Remove</button>
<p>Click the button to swap the text of the DIV element:</p>
<p><button >Click Me</button></p>
<div id="myDIV">Hello</div>
[removed]
function myFunction() {
document.getElementById("demo")[removed] = "good morning ";
}
function myFunctionn() {
document.getElementById("demoo")[removed] = "";
}
function myFunctionnn() {
var x = document.getElementById("myDIV");
if (x[removed] === "Hello") {
x[removed] = "Swapped text!";
} else {
x[removed] = "Hello";
}
}
[removed]
</body>
</html>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}