There’re more than one solution to each of these problems. Continue reading on JavaScript In Plain English »