

















Explanation

* The <select> element is used to create a drop-down list.
The <option> tags inside the <select> element define the available options in the list.
* option.value
text
Specifies the value to be sent to a server
Reference: HTML <option> Tag








Explanation
Box 1:

Box 2:

Box 3:

Note:
Use > for greater than comparison.
Use < for less than comparison.




Explanation

Use ajax technology (json is for the datatype).
Disable the cache as the most recent data must be displayed.







Explanation
getElementById
"yellowDiv"
"yellow"
https://www.w3schools.com/jsref/prop_style_border.asp






Explanation
No
Yes
No
https://www.w3schools.com/cssref/pr_margin-left.asp
https://css-tricks.com/almanac/properties/t/transition/
https://www.w3schools.com/cssref/css3_pr_transition.asp







