My goal is simple to explain, but I have exhausted all my efforts trying to achieve it.
I am hoping for the ★ symbol to appear immediately after the number 06 using jQuery.
Any assistance would be greatly appreciated.
The numbers are generated by a separate function, so in the original HTML code, the .num
div appears empty.
$(".like,.like-yes").insertAfter('.num');
.none{display:none}
body{font-family:Arial;font-size:5vw;}
.num{bottom:.5em;position:fixed;width:100%;text-align:center;}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class=num>01 02 03 04 05 06</div>
<div class=like>★</div><div class="like-yes none">★</div>