This is apparently one of those confusing topics in English! But relax, it’s not as difficult as balancing a ball on your head and walking a tightrope—not even close. There is a slight difference between these prepositional expressions, but they can still be used interchangeably.
Both ‘in the front of’ (in the back of) and ‘at the front of’ (at the back of) indicate that something is in the frontal (or rear) part of another thing, and part of it. Let’s look at the difference and where they can be used interchangeably.
In the front of (in the back of)
-Smaller forms of transportation: e.g. a car, a boat with less space to move.
- She was sitting in the front of the car beside the driver.
- The trainer was calm as he stretched his legs in the back of the small boat.
Read on here