Uncaught SyntaxError: Unexpected token ‘


Hello I'm trying to process an API call.
I've written the API request code in html in brackets.
I'm a novice.

Getting the message
Uncaught SyntaxError: Unexpected token '<'

Can Include the Code if needed.