chore: apply linting to html ext too and fixes for files

This commit is contained in:
Yash-Singh1
2021-12-04 15:28:40 -08:00
parent c11f9b7e5f
commit 3ea974709f
47 changed files with 21256 additions and 36208 deletions

View File

@@ -23,11 +23,11 @@
}
</style>
<script>
function xssAttack(){
const div = document.createElement('div')
div.id = 'the-malware'
div.className = 'malware'
div.innerHTML = 'XSS Succeeded'
function xssAttack() {
const div = document.createElement('div');
div.id = 'the-malware';
div.className = 'malware';
div.innerHTML = 'XSS Succeeded';
document.getElementsByTagName('body')[0].appendChild(div);
// const el = document.querySelector('.mermaid');
// el.parentNode.removeChild(el);