Owen Abbott
1 min readOct 8, 2020

New problems arising:

I have the player tank positioned at 50%. This means it should appear directly in the middle of the page.

It always looks slightly off. I thought that was just my perception, that the computer couldn’t be wrong. When I limited the tank’s movement though, I found this isn’t the case.

I have it set so that the positioning of the tank cannot be moved lower than 3% or greater than 97%. When I move it to the left, it stops while fully in view. When I move it all the way to the right, however, it stops halfway off the page.

I set padding and margin to 0 for all named elements that I’ve created as well as for .App, which is responsible for the virtual DOM. I’ve also gone into the Index css file and changed the padding and margin to 0. No dice.

Puzzling.

No responses yet