Sunday, June 2, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  11] [ 3]  / answers: 1 / hits: 19136  / 10 Years ago, mon, november 17, 2014, 12:00:00

For my class I have to make the game of Tic Tac Toe using what I have learned which is HTML/CSS and some javascript. I have not learned arrays, loops, or objects yet. So I am hoping this is possible. What I have learned is functions, variables, and if/else/else if. Basically I don't want to ask you nice people to help me with the entire thing because I don't think anyone would do that and it would take to long. I will, however, say that I have no idea where to even start but hopefully I can figure it out. What I do need help on however is setting up the actual board. Do you think I could do something in HTML for setting up the board? Like using the table, th, and tr elements? Or would CSS be better? Thanks a bunch to the people that help!


More From » html

 Answers
1

Here's a table that would help.



Html:



<table>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>


Css:



td {
border: 1px solid black;
height: 50px;
width: 50px;
}

[#68788] Thursday, November 13, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
analiseb

Total Points: 252
Total Questions: 96
Total Answers: 106

Location: Singapore
Member since Sat, Jul 25, 2020
4 Years ago
analiseb questions
;