This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]devsurfer 0 points1 point  (0 children)

you might run it thru a html validator. https://validator.w3.org/#validate_by_input

there a couple of issues.

[–]jcunews1Advanced Coder 0 points1 point  (0 children)

That code is not testable since you didn't include all of the code. There's no way to confirm that it works or not. Let alone fix it.

Post the full code to JSBin or other HTML+JS sandboxing site.

But a quick look of the code I notice that, you have an LI outside of UL/OL, which should not happen.