Code AnalysisIntermediate 45s
XSS vulnerable
Is this safe?
Starter code
const html = `<div>${userInput}</div>`;
document.getElementById("app").innerHTML = html;Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.