0

Help with displaying alert when mouseover pointer

I need help displaying an alert when the mouse pointer is over the div tag: <div ="alert('Hi!');"> put the mouse pointer over me </div>

19th Mar 2020, 3:27 AM
SATYAJIT JENA
SATYAJIT JENA - avatar
2 Respuestas
+ 2
Review the lesson "Handling Events": https://www.sololearn.com/learn/JavaScript/2758/
19th Mar 2020, 3:29 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
onmouseover="alert('Hi!')"
19th Mar 2020, 3:32 AM
yochanan sheinberger
yochanan sheinberger - avatar