Question: Ok so i made a chessboard UI in html and CSS but i want to be able to hover over a piece or click it and a pop up says what the piece is, next legal moves, strategies, etc… so i’m not wanting the pieces to move just when clicked or hovered over explains the specific piece.
Hi @IncognitoX4 !
title attribute is what you are looking for?
Let’s say your pieces are a
You can make it such that when you hover over the image, it brings up the text:
<img src="bishop.jpg" title="A bishop for chess. Moves diagonally only">
HTML img title with Quick Examples.
Hope this helps!