JSFiddle - React, Tailwind, and code Playground

by ilyasnone

HTML

<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>11</li>
<li>12</li>
<li>13</li>
<li>14</li>
<li>15</li>
</ul>


<div class="note-item" style="display:none;">
    <span class='feed_name'>aaadasf asf asdf as fdasf</span>
</div>

JavaScript

var edpick =  $('.note-item').html();
$('ul li:nth-child(5n+5)').after(edpick);