Here is my App.js
import './App.css';
import './scripts/logic.js';
import Player from './components/Player'
import { useState } from 'react'
function App() {
const [cordinate,setCordinate] = useState({x:"",y:""})
function moveRight(){
}
return (
<div className="App">
<div className="container">
<div className="board" id="board">
<Player/>
</div>
<button>Move Right</button>
</div>
</div>
);
}
export default App;
my css file where the player css is defined
.player{
background-color: red;
grid-row-start: 5;
grid-column-start:5;
}
Here what i want now by using the moveRight function i want to manipulate the value of player class grid-row-start and grid-column-start how can i achive this