diffsnack
HTML Find the mistake Level 2

HTML exercise: Opening and closing tags — Find the bug.

This should be one bullet list with four items.

The exercise

Find the bug.

1<ul>
2 <li>Electric &amp; acoustic guitar</li>
3 <li>Kids, teens &amp; adults</li>
4 <li>German or English</li>
5 <li>400+ free video lessons</li>
6</ol>

Solution

The bug is in line 6.

- </ol>
+ </ul>

The list opens with <ul>, so it must also close with </ul>. </ol> closes a different kind of list, so the tags do not match.

Play this exercise Learn the concept: Opening and closing tags