Usually, to answer a question with 'wohin' you need the accusative.
Wohin gehst du? Ich gehe in den Supermarkt (Akk.), ins Kino (Akk.), an den Strand (Akk.)
That is the rule. This rule has one exception, which is the preposition 'zu', because it always requires dative.
Wohin gehst du? Ich gehe zur Post (Dat.), zum Strand (Dat.).