Skip to content

Instantly share code, notes, and snippets.

@TheOtherBrian1
Created January 9, 2022 22:09
Show Gist options
  • Save TheOtherBrian1/04f509f5fcd853c78967d83c88456f21 to your computer and use it in GitHub Desktop.
Save TheOtherBrian1/04f509f5fcd853c78967d83c88456f21 to your computer and use it in GitHub Desktop.
<!--Header-->
<h1> Change Widgets Color </h1>
<!-- Short app explanation -->
<p>
Will change the color of all objects with the key word in their title
</p>
<!--Asks user for a hex color value-->
<label for = 'hex-input'>
New Hex Color
<input
required
id = "hex-input"
type = "text"
max = "6"
min = "6"
placeholder = "fafa1d"
/>
</label>
<!--Asks user for a key word-->
<label for = 'keyword-input'>
Key Word
<input
required
id = "keyword-input"
type = "text"
placeholder = "title"
/>
</label>
<!--Submit button-->
<button id = "button">
Change Color
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment