Code Scramble: Color Change

Consider the following html:

   <p><label for="colorBox">Color </label><input type="text" id="colorBox"></p>
   <p id="demo">Demo Text</p>

Arrange lines of JS code in the right-hand box so that the code changes the color of the Demo Text to whatever color is specified in the text box. Note that one line of code is not used for the solution.

New instance Get feedback