A. Direction: Write “VALID" if the syntax is correct, otherwise write "INVALID" if it is incorrect
![A Direction Write VALID If The Syntax Is Correct Otherwise Write INVALID If It Is Incorrect class=](https://ph-static.z-dn.net/files/dd4/f10da1a34df39470ad0cdd8c49ef35f9.jpg)
1. INVALID - Incomplete " and )
2. INVALID - No closing tags
3. INVALID - alert is a function, not a keyword
4. INVALID - alert is not a keyword, and string is not closed with "
5. INVALID - name must begin with a letter, a $ or _
6. INVALID - name must be a valid identifier, not a literal
7. VALID
8. INVALID - variable declaration followed by a ' instead of a end of line or a semicolon
9. VALID
10. VALID