'Why doesn't VS code show me HTML/CSS errors?
<button type="button"
oneclick="document.getElementById('a').style.visibility='visible'">
Click
</button>
<img id="a" style="visibility:hidden" src='pico.png' alt="src not found">
I mistyped "oneclick", but VS Code doesn't show me that. I was going crazy because I didn't find the error. Why? I already installed HTMLHint, HTML, CSS, Javascript extensions.
Solution 1:[1]
I've found this extension: umoxfo.vscode-w3cvalidation It works, you only have to setup the JAVA_HOME PATH.
Solution 2:[2]
I hope you are well You need to install the HTMLHint plugin and your problem will be solved Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Allexj |
| Solution 2 | Ali GhiasvandMohammadkhani |
