JSFiddle - React, Tailwind, and code Playground
by stofke
HTML
<div class="accordion"><ol>
<li>
<h2>
<span>Bestsellers</span>
</h2>
<div class="links" id="bestsellers">
</div>
</li>
</ol>
</div>
JavaScript
var shopsheep = function() {
var json = {
"com": {
"bestsellers": {
"categories": {
"digital-video": "Amazon Instant Video",
"appliances": "Appliances",
"mobile-apps": "Appstore for Android",
"arts-crafts": "Arts, Crafts & Sewing",
"automotive": "Automotive",
"baby-products": "Baby",
"beauty": "Beauty",
"books": "Books",
"photo": "Camera & Photo",
"wireless": "Cell Phones & Service",
"apparel": "Clothing",
"pc": "Computers & Accessories",
"electronics": "Electronics",
"grocery": "Grocery & Gourmet Food",
"hpc": "Health & Personal Care",
"home-garden": "Home & Garden",
"hi": "Home Improvement",
"industrial": "Industrial & Scientific",
"jewelry": "Jewelry",
"digital-text": "Kindle Store",
"kitchen": "Kitchen & Dining",
"magazines": "Magazines",
"dvd": "Movies & TV",
"music": "Music",
"musical-instruments": "Musical Instruments",
"office-products": "Office Products",
"garden": "Patio, Lawn & Garden",
"shoes": "Shoes",
"software": "Software",
"sporting-goods": "Sports & Outdoors",
"toys-and-games": "Toys & Games",
"video": "Video",
"videogames": "Video Games",
"watches": "Watches"
},
"urlpart": "/rss/bestsellers/",
"country": "com",
"title":...