Hi everyone,
I have tried to assign an event to a member inside an object by using an anonymous function.
In the code below the result would not be gained and I even see no errors in the console.
Could you please help me fix this issue?
Thank you very much in advance.
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>2js</title> <style type="text/css"> div.box { background-color: hsl(0, 0%, 0%); margin-left: 2px; width: 2px; height: 2px; margin-top: 2px;