You need to sign in to do that
Don't have an account?
Stuck in the trailhead module "Create Secure Lightning Components Module"
For the Challenge1 of 'Create Secure Lightning Components Module', I identified 2 vulnerabilities and removed in the code (as shown in screenshot. However, still I am getting the error "The 'LTNG_Secure_Component_Challenge' component is not yet secured. Remember, unescapedHTML is dangerous. ui:outputRichText is a safer alternative.". I have already replaced unescapedHtml tag with ui:outputRichText. Do anyone come across this?

CMP: CONTROLLER.JS:
All Answers
CMP: CONTROLLER.JS:
I tried that code. But still getting the below error.
This is the whole code which I have used and passed the challenge.
You need to do two changes in the component and one change in the controller.
Component
Controller:
Need one quick help here. as this challenge can not be completed in standard Developer Edition or Trailhead Playground. We must sign up for a super-special Kingdom Management DE org. I did the signup but not able to Launch KM DE org from trailhead and that is why I am getting "The 'LTNG_Secure_Component_Challenge' component was not found." How did you guys solve the challenge?
Any help would be appreciated.