{"action":"closed","issue":{"url":"https://api.github.com/repos/jawri1/WebDevProject1/issues/2","repository_url":"https://api.github.com/repos/jawri1/WebDevProject1","labels_url":"https://api.github.com/repos/jawri1/WebDevProject1/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jawri1/WebDevProject1/issues/2/comments","events_url":"https://api.github.com/repos/jawri1/WebDevProject1/issues/2/events","html_url":"https://github.com/jawri1/WebDevProject1/issues/2","id":395572234,"node_id":"MDU6SXNzdWUzOTU1NzIyMzQ=","number":2,"title":"Javascript","user":{"login":"jawri1","id":32015986,"node_id":"MDQ6VXNlcjMyMDE1OTg2","avatar_url":"https://avatars0.githubusercontent.com/u/32015986?v=4","gravatar_id":"","url":"https://api.github.com/users/jawri1","html_url":"https://github.com/jawri1","followers_url":"https://api.github.com/users/jawri1/followers","following_url":"https://api.github.com/users/jawri1/following{/other_user}","gists_url":"https://api.github.com/users/jawri1/gists{/gist_id}","starred_url":"https://api.github.com/users/jawri1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawri1/subscriptions","organizations_url":"https://api.github.com/users/jawri1/orgs","repos_url":"https://api.github.com/users/jawri1/repos","events_url":"https://api.github.com/users/jawri1/events{/privacy}","received_events_url":"https://api.github.com/users/jawri1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-03T13:26:39Z","updated_at":"2019-01-03T14:57:59Z","closed_at":"2019-01-03T14:57:59Z","author_association":"OWNER","body":"Cant get the javascript to change images at specified intervals\r\n\r\n`   <!-- 2b. Javascript to change images every (3?) seconds -->\r\n   var myIndex = 0;\r\n   carousel();\r\n   \r\n   function carousel() {\r\n    var i;\r\n    var x = document.getElementsByClassName(\"mySlides\");\r\n    for (i = 0, i < x.length; i++) {\r\n      x[i].style.display = \"none\";\r\n     }\r\n     myIndex++;\r\n     if (myIndex >x.length) {myIndex = 1}\r\n     x[myIndex-1].style.display = \"block\"];\r\n     setTimeout(carousel, 3000);\r\n    }`"}}
{"actor":{"display_login":"jawri1"}}