Hello,
I’m new to using Corvid and coding. I watched one of the wix tutorials with the hope of creating my own booking form that didn’t require time or date selections. The idea is that customers book a tarot reading by submitting their name, email and their question. I then send a pre-recorded video link to them via email with a response. I think I have everything set up but I keep getting a “parsing error:unexpected token” message on the last line of code but nothing is there. Below is the code, not sure if it’s a matter of not closing certain tags or the code is off. Thanks in advance for your assistance! ~ Crystal
Hi, You’re missing a closing round bracket “)” on line 32.
Put it just before the “;”.
To go with Aviram post above, you need to check your code to make sure that you have matching pairs of opening and closing parentheses (round bracket) and curly brackets.
These are the ‘(’ and ‘)’ and the ‘{’ and ‘}’ in your code, which need to have equal numbers of both in your code.
Most of the time the error is just that you are missing one as Aviram states above, or that you have added too many in your code and need to delete one.
If you want to learn more about them there are many websites online that you can look at to find more info about them.
https://zellwk.com/blog/es6/
http://www.golivecentral.com/pages/txttut/jstut/brackets.shtml
https://stackoverflow.com/questions/23225375/when-to-use-parentheses-brackets-and-curly-braces-in-javascript-and-jquery
https://discuss.codecademy.com/t/parentheses-vs-brackets-javascript/47769
https://medium.com/@leannezhang/curly-braces-versus-parenthesis-in-reactjs-4d3ffd33128f
Am sure that others here can post links to many more sites too!