I wonder why the first part of code returns a string with the html form of the element while the second part of code returns an object
//1st part const $ = cheer