changing css works

updates makes it so that the CSS styling changes depending on whether
or not there is an error.