Mirror an Input

Write the code, see it run, pass the checks.

The problem

  • easy
  • Code

Add a text input labelled "Name" and, below it, a paragraph reading "You typed: " followed by what's in the input, updated as you type. Add a "Clear" button that empties the input and the paragraph.

Your code must pass

  • Typing in Name shows the text below
  • Clear empties the input and the text