App Academy W6D4 photo tagging in Javascript