i created these thngs , "<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Scientific Calculator</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="calculator">
        <input type="text" id="display" disabled>
        <div class="buttons">
            <!-- Number and basic operation buttons -->
            <button onclick="appendNumber('7')">7</button>
            <button onclick="appendNumber('8')">8</button>
            <button onclick="appendNumber('9')">9</button>
            <button onclick="updateOperation('/')">÷</button>
            <button onclick="clearDisplay()">C</button>

            <button onclick="appendNumber('4')">4</button>
            <button onclick="appendNumber('5')">5</button>
            <button onclick="appendNumber('6')">6</button>
            <button onclick="updateOperation('*')">x</button>
            <button onclick="calculate()">=</button>

            <button onclick="appendNumber('1')">1</button>
            <button onclick="appendNumber('2')">2</button>
            <button onclick="appendNumber('3')">3</button>
            <button onclick="updateOperation('-')">-</button>
            <button onclick="appendNumber('0')">0</button>

            <button onclick="appendNumber('.')">.</button>
            <button onclick="changeSign()">±</button>
            <button onclick="updateOperation('+')">+</button>

            <!-- Scientific function buttons -->
            <button onclick="computeFunction('sin')">sin</button>
            <button onclick="computeFunction('cos')">cos</button>
            <button onclick="computeFunction('tan')">tan</button>
            <button onclick="computeFunction('log')">log</button>
            <button onclick="computeFunction('sqrt')">√</button>
            <button onclick="computeFunction('exp')">exp</button>
            <button onclick="computeFunction('pow')">x<sup>y</sup></button>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>"

css "/* style.css */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
}

.calculator {
    width: 340px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

#display {
    grid-column: 1 / -1; /* Span full width */
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 20px;
    text-align: right;
    background-color: #e9e9e9;
}

.buttons button {
    height: 50px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: #0056b3;
}

.buttons button:active {
    background-color: #003580;
}

/* Specific styles for different button types */
.buttons button:nth-child(10), /* Clear button */
.buttons button:nth-last-child(2) { /* Equal button */
    background-color: #28a745; /* Green */
}

.buttons button:nth-child(10):hover,
.buttons button:nth-last-child(2):hover {
    background-color: #218838;
}

.buttons button:nth-last-child(1), /* Change sign button */
.buttons button:nth-last-child(3) { /* Decimal point */
    background-color: #ffc107; /* Yellow */
}

.buttons button:nth-last-child(1):hover,
.buttons button:nth-last-child(3):hover {
    background-color: #e0a800;
}"

now i want full javascript code