Thanks for your reply, but the import cell has nothing to do with the problem I posted above. Maybe I didn’t describe the problem I have clearly.
So now I have tried to make the notebook consistent with my question here by adding cell 1 and cell 2 comment in the notebook. please see the notebook w3school's JS Events tutorial / 深度碎片 | Observable
The questions I have:
- why neither running cell 1 and clicking the button produced by cell 1 can display the date?
- why clicking the button produced by cell 2 won’t display the date? ( I understand that running cell 2 can display the date)
Thanks