A study of star-forming clumps and their host galaxies : insights from HST and JWST observations