In: Computer Science
Display a simple message "Welcome" on your demo webpage. When the user hovers over the message, a popup should be displayed with a message "Welcome to our new WebPage!!!".
Code Screenshot :
Executable Code:
<!DOCTYPE html>
<html>
<script>
function popup(){
alert("Welcome
to our new WebPage!!!");
}
</script>
<body>
<h1
onmouseover="popup()">
Welcome
</h1>
</body>
</html>
Sample Output :
Please comment
below if you have any queries.
Please do give a thumbs up if you liked the answer thanks
:)