   <option value="parallel">Parallel</option>
        </select>

        <label for="resistances">Enter Resistances (comma-separated):</label>
        <input type="text" id="resistances" placeholder="e.g., 10, 20, 30">

        <button onclick="calculateEquivalentResistance()">Calculate</button>

        <p id="result">Equivalent Resistance: <span id="equivalentResistance">---</span> ohms</p>
    </div>

    <script src="script.js"></script>
</body>

</html>