w3 validator gives me this error
there is no attribute "onClick"
I do not see what makes my code invalid.
<a href="#" onClick="return BookmarkApp.addBookmark(this)"><img alt="" src="./favorites-intro.jpg" /></a>
offers?
If you change it to lowercase onclick, the error will disappear. Like this:
onclick
<a href="#" onclick="return BookmarkApp.addBookmark(this)"><img alt="" src="./favorites-intro.jpg" /></a>