CSS has a feature called !important. What it does is force a property to be used, regardless of other properties that are more specific. It can be very handy.
TL;DR;
You are accessing a property of an object that is null. For example, document.getElementById('stuff') returns null. So adding .value will cause the err…