I would like to be able to change background colour by having to choose from drop down menu.
<div id="background">
<p><b>Choose a colour to change<br> background colour from the list.</b></p>
<select name="colour" id="background-change">
<option>Select One</option>
<option>Black</option>
<option>Blue</option>
<option>Orange</option>
<option>Red</option>
<option>White</option>
<option>Yellow</option>
</select>
</div>
Thats my HTML drop down code and the colours i need the background to change. Also I would like to have it save in the cookie so if i pick red and refresh the page, it would still be red.
See Question&Answers more detail:os