This content originally appeared on DEV Community and was authored by programmerabhi
How to do this, after selecting any one option, the others become unselectable(disable) . Please hint according to the given code snippet.
$(".mcq").on("click","li", function(){
$(this).addClass("select");
where
.mcq li.select {
background:#68c9c6;
color:#fff;
animation:zoomOut 300ms ease;
}
This content originally appeared on DEV Community and was authored by programmerabhi
programmerabhi | Sciencx (2021-04-22T04:45:59+00:00) after selecting any one option, the others become unselectable(disable). Retrieved from https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.