Deyap book
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 18.3k
- Forks
- 4.1k
- Avg merge
- 14m
- Merged PRs (30d)
- 1
Description
<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>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the standalone HTML document in the issue. No repository file, test, or target chapter is named, and the requested change is not stated; clarify the intended book content and acceptance criteria before work begins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 10/100