I have 3 elements in my HTML 1. Input Field or Text area 2. Button 3. Div with 100px width and 100px height
In the Input field/Text Area, I am going to write a simple css class like below
background-color: red;
border: 1px solid black;
On press on the button, I want to add the above styles to the div.
Can anyone help?