Forward interview question

Practical question about html and vanilla JS