Find and Change Elements

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

Without any framework, you need to find a page's error message box, put a message in it, and make it visible. Explain how you'd select the element, change its text and styles, and why you'd be careful about using innerHTML.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →