📚 Subject area/topic
/tutorial/3-components/4
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/tutorial/3-components/4/#build-a-hamburger-component
📋 Description of content that is out-of-date or incorrect
The following code is shown as an example of a hamburger component.
<div class="hamburger">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</div>
The problematic code was added in #1089.
If the element is intended to be clicked, you should use the <button> element.
If such inappropriate markup is used as an example in official documentation, it may lead to the spread of incorrect implementation among readers.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
Not necessary
📚 Subject area/topic
/tutorial/3-components/4
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/tutorial/3-components/4/#build-a-hamburger-component
📋 Description of content that is out-of-date or incorrect
The following code is shown as an example of a hamburger component.
The problematic code was added in #1089.
If the element is intended to be clicked, you should use the
<button>element.If such inappropriate markup is used as an example in official documentation, it may lead to the spread of incorrect implementation among readers.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
Not necessary