{"action":"created","issue":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16565","repository_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp","labels_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16565/labels{/name}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16565/comments","events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16565/events","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16565","id":291217006,"number":16565,"title":"Code Locked / Unlocked button is a confusing UX for beginners","user":{"login":"tchaffee","id":148813,"avatar_url":"https://avatars2.githubusercontent.com/u/148813?v=4","gravatar_id":"","url":"https://api.github.com/users/tchaffee","html_url":"https://github.com/tchaffee","followers_url":"https://api.github.com/users/tchaffee/followers","following_url":"https://api.github.com/users/tchaffee/following{/other_user}","gists_url":"https://api.github.com/users/tchaffee/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaffee/subscriptions","organizations_url":"https://api.github.com/users/tchaffee/orgs","repos_url":"https://api.github.com/users/tchaffee/repos","events_url":"https://api.github.com/users/tchaffee/events{/privacy}","received_events_url":"https://api.github.com/users/tchaffee/received_events","type":"User","site_admin":false},"labels":[{"id":243612366,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels/beta","name":"beta","color":"fbca04","default":false},{"id":451619379,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels/critical%20path","name":"critical path","color":"b60205","default":false},{"id":252971474,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels/ux","name":"ux","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2018-01-24T13:54:36Z","updated_at":"2018-03-13T19:49:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- freeCodeCamp Issue Template -->\r\n\r\n<!-- Please provide as much detail as possible for us to fix your issue -->\r\n<!-- Remove any heading sections you did not fill out -->\r\n\r\n<!-- NOTE: If your issue is CodePen Project / Test Suite related, please open it using the below URL instead -->\r\n<!-- https://github.com/freeCodeCamp/testable-projects-fcc/issues/new -->\r\n\r\n#### Issue Description\r\nThe \"Code Locked\" button on beta shows up on the very first challenge: \"Say Hello to HTML Elements\". I think this has to do with recent security improvements to prevent javascript injection via the URI? In any case, there is no code in my URI. The URI is https://beta.freecodecamp.org/en/challenges/basic-html-and-html5/say-hello-to-html-elements. I am guessing maybe it's because saved code was found in local storage? Checking local storage for code to be executed is surely way beyond the ability of someone who just started the course?\r\n\r\nBeing that this the very first challenge, this is definitely confusing and beyond the expertise of a beginner to decide whether or not code is secure. We are asking them to make a decision they have not been trained to make. I was even confused as an experienced developer. What should I be looking for to understand if the code is trusted? Certainly it's not my `<h1>` element or anything else in the text editor?\r\n \r\nAlso, it doesn't match the instructions which talk about `clicking the \"Run tests\" button\"`.\r\n\r\nHow can we improve user experience while still keeping it secure?\r\n\r\n#### Browser Information\r\n\r\n* Browser Name, Version: Chrome, 63 \r\n* Operating System: Ubuntu\r\n* Mobile, Desktop, or Tablet: Desktop \r\n\r\n#### Screenshot\r\n![image](https://user-images.githubusercontent.com/148813/35335373-92001f44-00fc-11e8-8c57-9de5820e48ee.png)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/comments/372795622","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16565#issuecomment-372795622","issue_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16565","id":372795622,"user":{"login":"tchaffee","id":148813,"avatar_url":"https://avatars2.githubusercontent.com/u/148813?v=4","gravatar_id":"","url":"https://api.github.com/users/tchaffee","html_url":"https://github.com/tchaffee","followers_url":"https://api.github.com/users/tchaffee/followers","following_url":"https://api.github.com/users/tchaffee/following{/other_user}","gists_url":"https://api.github.com/users/tchaffee/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaffee/subscriptions","organizations_url":"https://api.github.com/users/tchaffee/orgs","repos_url":"https://api.github.com/users/tchaffee/repos","events_url":"https://api.github.com/users/tchaffee/events{/privacy}","received_events_url":"https://api.github.com/users/tchaffee/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T19:49:37Z","updated_at":"2018-03-13T19:49:37Z","author_association":"CONTRIBUTOR","body":"@Bouncey can you point me to some existing code that dispatches an action? Thanks."}}
{"actor":{"display_login":"tchaffee"}}