I am working on S3. In a bucket i have a browser.json file, jquery.js, and index.html. In my index.html I am writing a script that reads my JSON file. Here is what my code looks like...
!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>
<script>
$.getJSON('https://s3.amazonaws.com/plxscreenshots/browser.json', function(data) {
alert(data.date)
});
</script>
<p> I hope this works!</p>
</body>
I am still pretty new to html/javascript but I feel like this should be working and it is not, any suggestions?
AccessDenied