Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Code example has several syntax errors #12

Open
ghost opened this issue Aug 20, 2019 · 0 comments
Open

Code example has several syntax errors #12

ghost opened this issue Aug 20, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 20, 2019

Hi,

The following code example:

image

The first code error:

image

Change:

var formHandle = document.querySelector('form[name="demo-form-3"]'),

into

var formHandle = document.querySelector('form[name="demo-form-3"]');

e.g. , into ;

The second issue:

image

See solution: https://stackoverflow.com/questions/24573061/uncaught-syntaxerror-in-strict-mode-code-functions-can-only-be-declared-at-top

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants