+ 1

Div help

How do I display an alert when the mouse is hovering over the div tag?

12th Jul 2018, 9:12 AM
Ryan Sullivan
Ryan Sullivan - avatar
1 Answer
+ 4
Hello, Ryan Sullivan (Suvan) ! <div onmouseover='alert("Blue bird")'>Some string</div> Also look at one of SoloLearn lessons https://www.sololearn.com/learn/JavaScript/2758/?ref=app
12th Jul 2018, 9:20 AM
Alexander Sokolov
Alexander Sokolov - avatar