-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (24 loc) · 1.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dom - Day 4 - addEventListener (click,mouse,alert,prompt)</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- //!===>Example:addEventListener mouseover method -->
<!-- <button id="btn">mouseover Method Here Change To Background Color</button> -->
<!-- //! Session Task addEventListener mouseover method -->
<!-- //! Color a span/div element content when a user moves the mouse over the element -->
<!-- <div id="div1">Session Task : Click here to change bgcolor</div> -->
<!-- //! Use prompt to read a value from user and display it in the span element -->
<!-- <span>Give the inputs</span> -->
<!-- //! Display the mouse X and Y coordinates in a <span> tag when you click on a <h1> tag which contains a paragraph -->
<!-- <span></span>
<h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet aut eos iusto hic, quibusdam accusantium veniam sit natus ab. Repellat aliquam blanditiis officiis itaque deleniti reprehenderit earum exercitationem nam maiores?</h1> -->
<!-- //! Write a Javascript code for character counts in the textarea -->
<!-- <textarea name="inputarea" id="inputarea" cols="30" rows="10"></textarea> -->
<script src="script.js"></script>
</body>
</html>