JSFiddle - React, Tailwind, and code Playground

by paradite

HTML

<form>
  <input type="color" value="#000000" name="color">
  <input type="submit" value="Change color">https://jsfiddle.net/paradite/ebeqqgsn/#collaborate
</form>

<p class="label">Hello, world!</p>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

JavaScript

// When you select a color and click on change color, it should change the color of the label.
// You can use vanilla Javascript, jQuery, or any other library you're familiar with.
// You are not allowed to edit the HTML, only Javascript.