Scripbox interview question

1. How to change HTML icons based on viewport?