assignment 3 javascript

I cant upload the sample run video which provided by my professor but it shows you enter the name of color in the textbox, than click the shape below it, it will turns into the color that you entered.

Please do not use any auto software ohter than simple software like text editor. Professor will check it if done by my own or not.

"Is this question part of your assignment? We can help"