Bug Report
Project 4.3.9 (lesson, section, checkpoint)
This could be a bug or you may want to classify it as a user experience problem if it's the case where the checkpoint is expecting a different solution that gets you the same result (it should check whether the code is working, not if it was written in one specific way).In either case, after correctly executing the code asked for in the lesson, it does not register with the checkpoint. You can see from the code displayed that it is verbatim what was asked for, and a
click of the 'color' button results in a randomly generated number between 0 and 255.
Workaround 1: Ignore and move on
Skip this checkpoint and move on with the lesson. If you have done what the lesson asked correctly, that's really what matters. Hopefully you will remember the skill well enough to Google it later on.Workaround 2: Unlock skills hack
If you want to consult the skills you learned at this checkpoint at a later time using the Skills tab, you will not be able to, since you have not officially unlocked the skill according to this checkpoint.To get around this, you can Right-click on the skill in the Skills tab (top-right) and select Inspect (Google Chrome):
Which will bring you to this pane with the following code block highlighted:
Change the variable "has-skill-false" to "has-skill-true"
Before:
After:
This will successfully unlock the skill in the Skills tab, allowing you to consult it in the future:
Note: you will have to apply this hack each time you visit the webpage and/or after each time you refresh the page. Getting around this issue is beyond the scope of this bug report and may be a topic for a further post.