I need to use the get method with pure javascript or with jquery to get the information I do not care if it takes the whole body of the page or just the JSON data, try in several ways and it never works for me I always get the < strong> "error not 'access-control-allow-origin' header is present on the requested resource" .
I also tried to do it with a page from localhost and it did not help either, I only hope that someone can help me.
This is the page I want to access, link .
HTML code
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>List of elements</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div id="container">
<div>
<img src="img/shadow-profile-people-header.jpg" />
</div>
</div>
<script src = "js/main.js"></script>
</body>
</html>