#bug in task execution 'Add colour to the selected emotion'

2 messages · Page 1 of 1 (latest)

knotty plaza
#

I am completing the task (exactly as shown in the video explanation), but I receive this message. How can I resolve this?

limpid crypt
#

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.