Hello Chris,
I tried to use the library and wrote this code
`
<title>Test chessboard.js</title>
<div id="myBoard" style="width: 400px"></div>
<script src="jquery-3.6.3/jquery-3.6.3.js"></script>
<script src="chessboardjs-1.0.0/js/chessboard-1.0.0.js"></script>
<script>
var ruyLopez = 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'
var board = Chessboard('myBoard', ruyLopez)
</script>
`
But if I do it, the board is empty.
I'm not that familiar with JavaScript. Can you add some documentation somewhere of how to correctly use the library.
Hello Chris,
I tried to use the library and wrote this code
`
<title>Test chessboard.js</title>But if I do it, the board is empty.
I'm not that familiar with JavaScript. Can you add some documentation somewhere of how to correctly use the library.