JSFiddle - React, Tailwind, and code Playground
HTML
<div id="msg">Pick Your Server:</div>
<ul id="world-list"></ul>
<div id="data"></div>
CSS
#world-list li {
list-style-type: none;
float: left;
padding: 4px 8px;
font-size: 18px;
}
#data {
clear: both;
padding-top: 15px;
text-align: center;
font-size: 24px;
}
#msg {
text-align: center;
font-size: 22px;
font-weight: bold;
text-decoration: underline;
}
JavaScript
var events = {
'03BF176A-D59F-49CA-A311-39FC6F533F2F': 'Shatterer',
'568A30CF-8512-462F-9D67-647D69BEFAED': 'Tequatl the Sunless',
'0464CB9E-1848-4AAA-BA31-4779A959DD71': 'Claw of Jormag',
'F7D9D427-5E54-4F12-977A-9809B23FBA99': 'The Frozen Maw',
'31CEBA08-E44D-472F-81B0-7143D73797F5': 'Shadow Behemoth',
'33F76E9E-0BB6-46D0-A3A9-BE4CDFC4A3A4': 'Fire Elemental',
'C5972F64-B894-45B4-BC31-2DEEA6B7C033': 'Great Jungle Wurm',
'C876757A-EF3E-4FBE-A484-07FF790D9B05': 'Megadestroyer',
'9AA133DC-F630-4A0E-BB5D-EE34A2B306C2': 'Golem Mark II',
'D35D7F3B-0A9B-41C6-BD87-7D7A0953F789': 'Temple of Balthazar',
'57A8E394-092D-4877-90A5-C238E882C320': 'Temple of Grenth',
'0372874E-59B7-4A8F-B535-2CF57B8E67E4': 'Temple of Lyssa',
},
worlds = {
'Jade Quarry': '1008',
'Underworld': '2006',
'Devona\'s Rest': '1023',
'Arborstone [FR]': '2105',
'Crystal Desert': '1014',
'Kaineng': '1022',
'Fissure of Woe': '2001',
'Anvil Rock': '1001',
'Gandara': '2003',
'Yak\'s Bend': '1003',
'Far Shiverpeaks': '2007',
'Stormbluff Isle': '1011',
'Aurora Glade': '2013',
'Sea of Sorrows': '1016',
'Ring of Fire': '2005',
'Piken Square': '2012',
'Darkhaven': '1012',
'Maguuma': '1005',
'Abaddon\'s Mouth [DE]': '2204',
'Elona Reach [DE]': '2203',
'Seafarer\'s Rest': '2010',
'Vizunah Square [FR]': '2104',
'Dzagonur [DE]': '2207',
'Ruins of Surmia': '2009',
'Borlis Pass': '1002',
'Desolation': '2002',
'Ehmry Bay': '1010',
'Eredon Terrace': '1024',
'Henge of Denravi': '1004',
'Gate of Madness': '1007',
'Drakkar Lake [DE]': '2205',
'Whiteside Ridge': '2008',
'Tarnished Coast': '1017',
'Jade Sea [FR]': '2101',
'Sanctum of Rall': '1013',
'Gunnar\'s Hold': '2014',
'Dragonbrand': '1021',
'Baruch Bay [SP]': '2301',
'Fort Ranik [FR]': '2102',
'Augury Rock [FR]': '2103',
'Kodash [DE]': '2201',
'Riverside [DE]': '2202',
'Miller\'s Sound [DE]': '2206',
'Northern Shiverpeaks': '1018',
'Isle of Janthir': '1015',
'Blacktide': '2004',
'Sorrow\'s Furance':...