WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Deyap book #4599

@shrdybx-ui

Description

@shrdybx-ui
<title>Dhiab – Personality Building</title> <style> body { font-family: 'Georgia', serif; background-color: #f5f3e7; display: flex; justify-content: center; align-items: center; height: 100vh; } #book { width: 600px; height: 400px; background-color: #fff8dc; box-shadow: 0 10px 30px rgba(0,0,0,0.3); padding: 30px; position: relative; } h1 { text-align: center; margin-bottom: 20px; color: #333; } h2 { text-align: center; } p { text-align: justify; line-height: 1.6; } button { position: absolute; top: 50%; transform: translateY(-50%); padding: 10px 20px; cursor: pointer; font-weight: bold; } #prev { left: -80px; } #next { right: -80px; } </style>

Dhiab – Personality Building

    <button id="prev" onclick="prevPage()">Previous</button>
    <button id="next" onclick="nextPage()">Next</button>

    <div id="pageContent">
        <h2>Page 1</h2>
        <p>You must say exactly what is required — don’t add and don’t reduce. If you add, no one will value you more, and if you reduce, you lose your worth.</p>
    </div>
</div>

<script>
    const pages = [
        {
            title: "Page 1",
            text: "You must say exactly what is required — don’t add and don’t reduce. If you add, no one will value you more, and if you reduce, you lose your worth."
        },
        {
            title: "Page 2",
            text: "Ahmed is an example of positive anti-bullying, because hitting, insulting, and slandering women has nothing to do with real strength."
        },
        {
            title: "Page 3",
            text: "Masturbation is poison that brings harm, and you should never do it again."
        }
    ];

    let currentPage = 0;

    function showPage(index) {
        const page = pages[index];
        document.getElementById('pageContent').innerHTML =
            `<h2>${page.title}</h2><p>${page.text}</p>`;
    }

    function nextPage() {
        if (currentPage < pages.length - 1) {
            currentPage++;
            showPage(currentPage);
        }
    }

    function prevPage() {
        if (currentPage > 0) {
            currentPage--;
            showPage(currentPage);
        }
    }
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions