I realized it while navigating through the page and when I went to click to check the Github repo I realized my mouse didn't switch to pointer and there wasn't a proper URL in that 'link'.
Then I found out it wasn't a link and it was firing a JS event. IMHO it is not necessary.
Are there any specific points where you should keep onClick instead of a?
I realized it while navigating through the page and when I went to click to check the Github repo I realized my mouse didn't switch to
pointer
and there wasn't a proper URL in that 'link'.Then I found out it wasn't a link and it was firing a JS event. IMHO it is not necessary.
Are there any specific points where you should keep
onClick
instead ofa
?