Today, I edited an html document. I just started editing it and passed the test.
Later, I made a modification to my head, and found that something was wrong. After I opened it with my browser, nothing was displayed.
After searching for a long time, I finally found the problem: the js tag added to the head is closed.
For this little mistake, I spent an hour and forgot to add the js tag on my head.
Excuse me, is there a good way to quickly check out this problem?
I installed matchit.zip and found that if you don’t know which label is wrong, this plug-in can’t help you check automatically.
I have installed syntastic, how do I turn on the check function after installing tidy?
The simple way is that you will check it out for you in IDE. If your IDE can’t help you with this, there will be some plug-ins to check for syntax errors. However, different IDE supports different plug-ins and requires different plug-in packages. Sublime is the best in this respect. Vim can also be used, but if you are not familiar with it, it is not recommended. The last way is that you can also write a simple package with your own program, which can be implemented with stack. The more complicated way is to check some libraries with grammar, flex, etc.