You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: