As an aside, I'd love to see frontend engineer interviewers ask folks how they'd do things like this. "How would you build [popular app] if you could only use HTML and CSS? Which features would require you to use JS to pull off even in a basic way? Can you envision a fictional future standard that would make this easier?"
It would reveal a lot about a candidate's knowledge of web standards, and ideally select for folks who can help us all move away from JS over-reliance!