Display the alert tag when the mouse pointer over the div tag. Please give the right ans to complete this code | Sololearn: Learn to code for FREE!

+1

Display the alert tag when the mouse pointer over the div tag. Please give the right ans to complete this code

<div _______="alert('hi');> </div>

3/28/2019 8:10:43 PM

Divyansh Rajak

2 Answers

New Answer

+2

This code alerts if you hover the mouse over the div (click and hold it if you are in mobile) Is this what you exatly want to do ? https://code.sololearn.com/WwRBRXRAlrHe/?ref=app

+1