so can html/javascript pros help me here with something (for something i’m working on)
i have a part of a webpage that i want to replace when a condition is met
i already have the if-statement, but when i use methods to replace the innerHTML, it doesn’t work
so uhh how do i replace a multiline html element with multiline html?
(sorry if this post is confusing)
Use defer
just tested, it didn’t change anything, the code still doesn’t work
so it’s not the script placement, it’s the code itself that’s the issue
Does it produce an error?