I started to learn HTML/PHP and now I am at the chapter responsive webdesign.
With the media query the output can be adapted to desktop and mobile devices. For example with "media="screen and (max-width: 640px)". So far, so good. The resolutions of smartphones are often higher or just as high as those of desktop monitors. As you can see here
https://screensiz.es/phone ... eg. Apple iPhone 7 Plus - 1080 x 1920
My question now is, why a media query for example with 640px, if the resolution of smartphones is anyway as high as that of desktop monitors?