Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title>ESP IOT DASHBOARD</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="topnav">
<h1>OG Web Server</h1>
</div>
<div class="content">
<div class="card-grid">
<div class="card">
<p class="card-title"> Fader1</p>
<p class="switch">
<input type="range" oninput="updateSliderPWM(this)" id="pwmSlider1" min="0" max="100" step="1" value ="0" class="slider">
</p>
<p class="state">Brightness: <span id="textSliderValue1"></span> &percnt;</p>
</div>
<div class="card">
<p class="card-title"> Fader2</p>
<p class="switch">
<input type="range" oninput="updateSliderPWM(this)" id="pwmSlider2" min="0" max="100" step="1" value ="0" class="slider">
</p>
<p class="state">Brightness: <span id="textSliderValue2"></span> &percnt;</p>
</div>
<div class="card">
<p class="card-title"> Fader3</p>
<p class="switch">
<input type="range" oninput="updateSliderPWM(this)" id="pwmSlider3" min="0" max="100" step="1" value ="0" class="slider">
</p>
<p class="state">Brightness: <span id="textSliderValue3"></span> &percnt;</p>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment