Author | Message |
---|---|
emugi
Posts: 19
|
Posted 16:13 Mar 29, 2017 |
Okay so everything seems to work but only thing that I have trouble with is changing the color when the explorer has already been. Can anyone give me clue on how to do it Please!? Thank You |
adanie20
Posts: 3
|
Posted 11:14 Mar 30, 2017 |
I constructed my grid using a table in html. Whenever I press a button, I call the table, along with the position and use the style.backgroundColor in JS to change the cell color. I used this as a reference: http://stackoverflow.com/questions/11517150/how-to-change-background-color-of-cell-in-table-using-java-script . The replies show the command being used. This is a list of colors you can use https://www.w3schools.com/colors/colors_names.asp Hope this helps! |
emugi
Posts: 19
|
Posted 17:14 Mar 31, 2017 |
Thank you for the reply!!! |