Reminds me of when JS was used inline in 'the old days' to swap images on mouse over. If my memory serves me correctly the code was something like this:
<IMG SRC="cat1.jpg" onmouseover="JavaScript:this.src='cat2.jpg' onmouseout='javascript:this.src='cat1.jpg'>
That looks right. It's the most basic introduction. I'm sure most people would use libraries and frameworks to make their lives easier.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Reminds me of when JS was used inline in 'the old days' to swap images on mouse over. If my memory serves me correctly the code was something like this:
That looks right. It's the most basic introduction. I'm sure most people would use libraries and frameworks to make their lives easier.