- 1
I want to display backgroundColor with object. Thanks you
Display backgroundColor with class BackgroundColor. https://code.sololearn.com/WWn5O6tTSYi8/?ref=app
1 Resposta
+ 11
Line 73:
I think there should be "heading = f.value;".
Line 75:
Fix the super() call. You pass value and color variables, but they are not defined in the BackgroundColor constructor. Don't forget to fix BackgroundColor instantiation on line 72 if needed.
It's hard to figure out what you are trying to achieve.
What DOM element should change its backgroundColor?