Cornerstone OnDemand interview question

Various questions about react and general JS/HTML/CSS, also identifying problems with various code snippets