moved comments above if statements - better for readability
moved image above image metadat
removed extra spaces
Getting error on line 118: Uncaught TypeError: Cannot read property 'length' of null, trying to resolve
still getting the same error Uncaught TypeError: Cannot read property 'length' of null, console logging data
fixed: artMedium !== null && artMedium.length > 0
Was mistakenly checking the length of null (oops)
checked console logging with more items, errror is still resolved
reorganized variables: moved appended content into variables (will be useful for later when adding new APIS, can use same format), cleaner if statements