I want to enter the value of the property in the entry field, for example color.
And In the other entry field for the new style is blue
let p_change = document.getElementById('p-change');
let property = document.getElementById('property').value; // each color ,fontSize
let newStyle = document.getElementById('style').value; // each red , 20px
let change = document.getElementById('change');
change.onclick = function(){
p_change.style.property = 'newStyle';
}
<p id="p-change">Change my style like you love</p>
<input id="property" value="" placeholder="Enter Property">
<input id="style" value="" placeholder="Enter New Style">
<button id="change">Change</button>