#How to get input type color value without hash symbol ?
10 messages · Page 1 of 1 (latest)
Sounds like this might be for the color scheme project.
I suggest looking into the following methods:
.substr()
.slice()
Yes, I am doing the color scheme project, I am confused about the select tag used in the project what should we do with it?
It's used to list the available options for color schemes.
<select id="color_scheme">
<option value="valueName">Value shown in dropdown menu</option>
</select>
You can grab the value in the same way you would any other user-manipulated element
I know what it is used for but in this project what we are supposed to do with it ?
like how to display these values ? if i consolo log data.mode i get only one value of monochrome
my question is how to get all these values
Oh, it's part of the query in the fetch. Here's a link to the part of the documentation that talks about mode
https://www.thecolorapi.com/docs#schemes