I want to apply more than 1 CSS styles to the button (its id is name_button
).
Here is my javaScript code.
var name_button = document.getElementById('name_button');
name_button.style.display = 'block';
name_button.style.margin-left = '125px';
name_button.style.padding-right = '0px';
But with the last two lines (name_button.style.margin-left = '125px';
and name_button.style.padding-right = '0px';
) my code is not working.