+ 3
Button moves when I click? [Answered]
so I am trying to make a tic-tac-toe game, and when I was setting up the buttons, the buttons seem to move in a different position. What do I do? Heres the full code: https://code.sololearn.com/WhGj559thn65/#html
6 odpowiedzi
+ 5
CSS line 3: should be font-size: 15px; not font-size: 15;
CSS line 15 and CSS line 16: should be 115px not 115
And in the HTML, you should put for the content of every button.
+ 4
HTML entities are basically characters. A HTML entity starts with & and ends with ;. means “non-breaking space”, which is basically a space, but doesn’t wrap. Because when the buttons suddenly get new content, some styling changes. A space would fill the gap so nothing will move, but a regular space would wrap. Something like that, I’m not exactly sure.
+ 3
Can you please show your full code (CSS + HTML) so we can see the problem?
+ 2
I put the link above!
+ 1
Oh I forgot about the px, what does the   do?
- 1
password and email in js