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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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>

28th Mar 2019, 8:10 PM
Divyansh Rajak
Divyansh Rajak - avatar
2 Antworten
+ 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
28th Mar 2019, 8:26 PM
Mario
Mario - avatar
+ 1
thanks
28th Mar 2019, 8:27 PM
Divyansh Rajak
Divyansh Rajak - avatar