Https://lastfm-test-app.netlify.app/

Please help me!!!
How can I fixed the next problem?

Mixed Content: The page at ‘https://lastfm-test-app.netlify.app/’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks&api_key=5c930abea1023f9769b5509d7ba9509b&format=json’. This request has been blocked; the content must be served over HTTPS.

https://lastfm-test-app.netlify.app/

You just need to change the API endpoint to https

1 Like

can be more specific?

in your code you should replace the occurrencies of:
http://ws.audioscrobbler.com
with:
https://ws.audioscrobbler.com