Help me in solving JS30 problem

My issue

can i get more practices regarding DOM

Learning course: Web development using JavaScript
Problem Link: CodeChef: Practical coding for everyone