<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Toggle</title>
    <link rel="stylesheet" href="./ui.css" />
    <script src="./logic.js"></script>
</head>

<body>
    <h2>Toggle Paragraph Example</h2>
    <button onclick="toggleInfo()" class="action" id="toggleBtn">Show/Hide Paragraph</button>
    <p class="info" id="myParagraph">This is a paragraph that can be shown or hidden by clicking the button ab