As a beginner in JavaScript, I thought it would be a great idea to work on a simple Calculator project.
I've already tackled the basics like addition and subtraction, but now I'm contemplating adding a squareroot function to it.
The design includes 3 dropdown select lists - the first for the first number, the second for the calculation symbol, and the third for the second number.
However, for the squareroot function, I only need one of the select lists. Is there a way to disable or block one of the select lists using a JavaScript function? This would simplify the process for the squareroot calculation.
(Apologies if my English isn't perfect =))