Resize the browser width and the image will change at 600px and 1000px.
The browser looks for the first source element where the media query matches the user's current viewport width, and fetches the image specified in the srcset attribute.
The img element is required as the last child tag of the picture declaration block. The img element is used to provide backward compatibility for browsers that do not support the picture element, or if none of the source tags matched