make sure to create as many elements of the structure shared above as many as we
have item entries in the json file above. Make sure to create a scalable
function which will accept different json file structures as input depending on
the specific page