Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

app.js:* Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('*') contains HTML space characters, which are not valid in tokens.

mernme answered on April 5, 2023 Popularity 3/10 Helpfulness 8/10

Contents


More Related Answers

  • Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('alert alert-danger') contains HTML space characters, which are not valid in tokens.

  • app.js:* Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided ('*') contains HTML space characters, which are not valid in tokens.

    1

    that means you can't add multiple classes like classList.add('first second'); u just can one by one

    Popularity 3/10 Helpfulness 8/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 05 2023
    mernme
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.