Start with the canonical resource for how to draw hexes in code:
https://www.redblobgames.com/grids/hexagons/
I made an online hexagonal chess game a few months ago. You can see how I did it with plain HTML/CSS/JS:
https://github.com/surprisetalk/chexs
Start with the canonical resource for how to draw hexes in code:
https://www.redblobgames.com/grids/hexagons/