type="text" placeholder="Enter post title to delete">
                <p></p>
                <button id="delete-post">Delete Post</button>
            </div>
            <div class="result" id="delete-result"></div>
        </div>
    </div>

    <script type="module">
        // Tab functionality
        document.querySelectorAll('.tab').forEach(tab => {
            tab.addEventListener('click', () => {
                // Remove active class from all tabs and contents
                document.querySelecto