Pregunta de entrevista de Cisco

They asked for me to code a dropdown navigation menu using HTML, JavaScript, and CSS. Once it was complete, they asked if it was possible to do it without using JavaScript and if so, how.