i have a JavaScript program that make input and a want to remove spell check.
let inp = document.createElement('input');
inp.placeholder = "enter line of code";
inp.autocomplete = "off";
//did not work
inp.spellcheck = "false";
i tried using inp.spellcheck = "false"; and it did not work
however just spellcheck="false" on a input worked