Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
None of the code I have attempted so far as actually had any effect & I am unsure if I am going about this in the right way. I am trying to use function <module_name>_form_node_article_form_alter(&$form, FormStateInterface $form_state, $form_id) to attach a Javascript file to a form. Is this possible?