JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<!-- HEAD -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Holberton AirBnB</title>
<SCRIPT src="https://code.jquery.com/jquery-3.2.1.min.js"></SCRIPT>
<script type="text/javascript" src="../static/scripts/2-hbnb.js"></script>
<!-- FAVICON -->
<link rel="shortcut icon" href="{{ url_for('static', filename='images/icon.png') }}?{{ cache_id }}">
<!-- **********************
CSS styles
********************** -->
<link rel="stylesheet" href="{{ url_for('static', filename='styles/4-common.css') }}?{{ cache_id }}">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/3-header.css') }}?{{ cache_id }}">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/3-footer.css') }}?{{ cache_id }}">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/6-filters.css') }}?{{ cache_id }}">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/8-places.css') }}?{{ cache_id }}">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/font-awesome.css') }}?{{ cache_id }}">
</head>
<!-- **********************
BODY
********************** -->
<body>
<!-- **********************
HEADER
********************** -->
<header>
<div id="api_status"></div>
</header>
<main>
<div class="container">
<!-- **********************
FILTERS
********************** -->
<section class="filters">
<!-- **********************
LOCATIONS
********************** -->
<div class="locations">
<h3>States</h3>
<h4> </h4>
<ul class="popover">
{% for state in states|dictsort %}
<H2>{{ state[0] }}</H2>
<UL>
{% for city in state[1].cities|sort(attribute='name') %}
<LI>{{ city.name }}</LI>
{% endfor %}
</UL>
{% endfor %}
</ul>
</div>
<!-- **********************
...