Jupyter custom widgets

When I write this code for custom widget “define(‘email_widget’, [”@jupyter-widgets/base"], function(widgets) ", jupyter notebook tell me invalid syntax ,why?

To help other readers try and make your title more descriptive. It is the first thing people see and right now it isn’t very descriptive so people won’t know what the post is about.