Categorize errors/ Improve HTML/CSS log
Close if statement