Below function takes parameter as string and provide result in the form of Hex code. function hexEncoderFun(str)...
code
<picture> <!-- Default low resolution image --> <source srcset="small.jpg" type="image/jpg"> <!-- Medium resolution image --> <source srcset="medium.jpg"...