Forward Interview Question

Practical question about html and vanilla JS