JSFiddle - React, Tailwind, and code Playground
by Alex Azuero
HTML
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no" />
<title>Generate classed color breaks renderer</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.16/dijit/themes/tundra/tundra.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/css/esri.css">
<style>
html,
body, #map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#map {
margin-left: 330px;
width:100%;
padding: 0;
}
#feedback {
height: 100%;
font-family: arial;
margin: 5px;
padding: 10px;
background: #fff;
color: #444;
box-shadow: 0 0 5px #888;
width:290px;
float:left;
margin: 10px;
}
#legendWrapper {
padding: 20px 0 0 0;
}
#note {
font-size: 80%;
font-weight: 700;
padding: 0 0 10px 0;
}
h3 {
margin: 0 0 5px 0;
border-bottom: 1px solid #444;
}
.gaugeContainer {
text-align: center;
}
#resultDiv {
}
</style>
</head>
<body class="tundra">
<div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="design:'headline',gutters:false" style="width: 100%; height: 100%; margin: 0;">
<div id="map" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'"></div>
<div id="feedback">
<h3 id="title">County Demographics</h3>
<div id="info">
Select a field to use to create a renderer for the counties.
</div>
<br>
<div id="search"></div>
<div id= "inputDiv">
Select a State:
...