Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update indNex.html #83

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions slotted-pseudo-element/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ <h1>::slotted pseudo-element example</h1>
<template id="person-template">
<div>
<h2>Personal ID Card</h2>
<slot name="person-name">NAME MISSING</slot>
<slot name="samuel r medina JR">NAME MISSING</slot>
<ul>
<li><slot name="person-age">AGE MISSING</slot></li>
<li><slot name="person-occupation">OCCUPATION MISSING</slot></li>
<li><slot name="person-age">38</slot></li>
<li><slot name="person-occupation">HomeMaker</slot></li>
</ul>
</div>
</template>
Expand All @@ -32,8 +32,8 @@ <h2>Personal ID Card</h2>
</person-details>

<person-details>
<p slot="person-name">Boris</p>
<span slot="age">27</span>
<p slot="person-name">Sam</p>
<span slot="age">37</span>
<span slot="i-am-awesome">Time traveller</span>
</person-details>

Expand Down