#bug in task execution 'Add colour to the selected emotion'
2 messages · Page 1 of 1 (latest)
Seems like a bug in the AI...
Although I'm confused by the gyration of querying the DOM for an element you already have...??
// this line
document.getElementById(e.target.id).parentElement.classList.add('highlight');
// can be replaced with
e.target.parentElement.classList.add('hightlight');
But I guess you're just following the course... odd though.