question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code Locked / Unlocked button is a confusing UX for beginners

See original GitHub issue

Issue Description

The “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?

Being 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?

Also, it doesn’t match the instructions which talk about clicking the "Run tests" button".

How can we improve user experience while still keeping it secure?

Browser Information

  • Browser Name, Version: Chrome, 63
  • Operating System: Ubuntu
  • Mobile, Desktop, or Tablet: Desktop

Screenshot

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:40 (40 by maintainers)

github_iconTop GitHub Comments

1reaction
BerkeleyTruecommented, Mar 14, 2018

@joker314 feel free to shoot me an email berkeley@freecodecamp.org

1reaction
Bounceycommented, Mar 13, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Frustrating Design Patterns: Disabled Buttons
Disabled buttons don't explain what's wrong. They communicate that something is off, but very often it's just not good enough. As a result,...
Read more >
Designers need codes, not keys, to unlock their career - Medium
Designers need codes, not keys, to unlock their career ... rudimentary shape) — UX problems were taken in consideration only from the elite....
Read more >
Free Adobe XD Tutorial: User Experience Design Course with ...
We'll start from the very beginning & work all the way through, step by step. If you already have some UI / UX...
Read more >
5 Bad UX Examples and How to Avoid Making the Same ...
Confusing customer flows, failed usability or accessibility, ignoring design principles, or not being explicit. There are many fails that make a UX bad....
Read more >
Form with locked and unlocked controls - UX Stack Exchange
The padlock button suffers from the old problem of a toggle button with two states, in which you don't know where the drawing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found