index.html:
-------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div class="container">
<h1 id="heading" class="A B C">Playing with DOM - 2020</h1>
<div class="class" id="green">class1</div>
<ul class="this">
<li class="list">this</li>
<li class="list">is</li>
<li class="list">my</li>
<li class="list">dream</li>
</ul>
<div class="class" id="white">class2</div>
<div class="class" id="red">class3</div>
<div class="class" id="blue">class4</div>
</div>
<form action="noaction.php">
<input type="text" name="input" id="input1" />
<input type="SUBMIT" id="btn" value="Submit" />
<!-- <button id="btn">Submit</button> -->
<br />
<a href="//google.com">Google</a> <br />
<a href="//facebook.com">Fb</a><br />
<a href="//codewithharry.com">CWH</a><br />
<a href="//gmail.com">Gmaail</a><br />
</form>
<script src="index.js"></script>
</body>
</html>
0 Comments