Since you have specified which walls etc. using "of the apartment", it would be more appropriate to use the definite article.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Nikitus"Todd begins to hit the walls, doors and the windows of the apartment."That combination is not quite right. You can say: