My answer to the online code practice website.