In a recent interview I was asked by the interviewer that you got 2 images:
- One large resolution image that you have to show on laptops & desktops.
- One small image that you have to show only on mobiles.
You have to fetch a certain image (1 out of these 2) based on "screen resolution" only by the help of HTML Only. You should not do this with help of CSS/JS/jQuery!
Though, my HTML is pretty good, but I could not answer this. Anybody, has any knowledge of what the interviewer meant? or what is the correct Solution?