Skip to content

Chapter 15 - Exercise "Tabs" - Inconsistent wrapping <div> to sandbox solution #337

@PolarisTLX

Description

@PolarisTLX

In the last exercise of Chapter 15, "TABS", the problem is laid out as:

<tab-panel>
     <div...
     <div...
</tab-panel>
<script>
    .
    .
  asTabs(document.querySelector("tab-panel"));
</script>

But the solution in the sandbox is laid out as:

<div id="wrapper">
     <div...
     <div...
</div>
<script>
     .
     .
     asTabs(document.querySelector("#wrapper"));
</script>`

Recommend remaining consistent with "<div id="wrapper">", which is the same as it was in the 2nd Edition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions