Hey been stuck all afternoon I am using this project as a starting point Temp sensor
Is a temp and humidity sensor running on esp8266 with its own web server. Trying to format the code for the web server but it does not want to play nice. Here is the html code
const char index_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML><html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<style>
html {
font-family: Arial;
display: inline-block;
margin: 0px auto;
text-align: center;
}
h2 { font-size: 3.0rem; }
p { font-size: 3.0rem; }
.units { font-size: 1.2rem; }
.dht-labels{
font-size: 1.5rem;
vertical-align:middle;
padding-bottom: 10px;
}
</style>
</head>
<body>
<h2>Shadehouse Climate Vandas</h1>
<p>
<i class="fas fa-thermometer-half" style="color:#059e8a;"></i>
<span class="dht-labels">Temperature</span>
<span id="temperature">%TEMPERATURE%</span>
<sup class="units">°C</sup>
<p>
<p>
<i class="fas fa-tint" style="color:#00add6;"></i>
<span class="dht-labels">Humidity</span>
<span id="humidity">%HUMIDITY%</span>
<sup class="units">%</sup>
<p>
<p>
<i class="fas fa-thermometer-full"></i>
<span class="dht-labels">Heat Index</span>
<span id="Heat Index">%hi%</span>
<sup class="units">°C</sup>
</p>
</body>
on the html reader here Html editor the code looks like this
but when I upload to arduino the webpage looks like this
no idea how to fix help appreciated