"The station is close to the hotel."
Translation:La estación está cerca del hotel.
So at first, I was taking the corrections as "al" was suppose to be used when needing the masculine form not feminine. Hotel is a masculine word so why isn't this answer accepted?
"Al" is used when there is a contraction "a+el". In this sentence the preposition is not "a", but "de". So here the contraction is "de+el = del". It will be more clear with an example:
"Va [a el] hotel" -> "Va al hotel"
"Viene [de el] hotel" -> "Viene del hotel"
Note that the sentences without contraction are grammatically wrong.