=====================Sample 1===================== Version 1: Duplicate Logic Too Much Nested Conditionals Compound and Ugly Booleans Version 2: Extracted Method from Compound and Ugly Boolean Removed Nesting Version 3: Respected Scoping Levels by moving evaluations away from query scoped lines Avoided another conditional =====================Sample 2===================== Version 1: Tunnel Vision Left identical logic in place Comment in awkward spot Version 2: Removing unnecessary logic statements. Keeps code from getting out of sync =====================Sample 3===================== Version 1: Poor use of css and HTML. Underuse of tags. Unnecessary bandwidth =====================Sample 4===================== Version 1: Overuse of tags Lack of knowledge of the language =====================Sample 5===================== Version 1: Convoluted Logic Unnecessary variables =====================Sample 6===================== Version 1: Poor choice of variable names Leads to hard to track down bugs =====================Sample 7===================== Version 1: Inconsistent choice of code formatting. =====================Sample 8===================== Version 1: Rediculous choice of variable names Loss of context down the page =====================Sample 9===================== Version 1: Rediculous choice of variable names Useless variable names mean lost opportunities for logging and monitoring.