Le voyage de Leul – Telegram
Le voyage de Leul
81 subscribers
113 photos
20 videos
9 files
95 links
Welcome to CodeSphere Hub 🌐👨‍💻👩‍💻! Connect, collaborate, and innovate with developers worldwide.
Download Telegram
:root {
--bg-light: #f4f4f4;
--bg-dark: #222;
--text-light: #000;
--text-dark: #fff;
--card-light: #fff;
--card-dark: #333;
--primary: #28a745;
--danger: red;
}

body {
font-family: Arial, sans-serif;
background: var(--bg-light);
color: var(--text-light);
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
transition: all 1.5s eae;

}

.container {
width: 100%;
max-width: 600px;
background: var(--card-light);
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
text-align: center;
}

input, textarea, button {
width: 90%;
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
align-self: center;
}

button {
cursor: pointer;
border: none;

color: white;
font-weight: bold;
}

.btn-add {
background: var(--primary);
}

.btn-delete {
width: 30%;
background: var(--danger);
}

.btn-dark-mode {
background: #333;
}

button:hover {
opacity: 0.8;
}

ul {
list-style: none;
padding: 0;
}

ul li {
background: #ddd;
padding: 10px;
margin: 5px 0;
display: flex;
justify-content: space-between;
cursor: pointer;
}

.note {
background: #ffeb99;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}

.dark-mode {
background: var(--bg-dark);
color: var(--text-dark);
}

.dark-mode .container {
background: var(--card-dark);
}

.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 400px;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
z-index: 1000;
}

.modal h3 {
margin-top: 0;
}

.modal button {
margin-top: 10px;
}

.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}

model-overlay button{
background: green;
}
document.addEventListener("DOMContentLoaded", loadFromStorage);

function addTodo() {
let todoInput = document.getElementById("todo-input");
let todoText = todoInput.value.trim();
if (todoText === "") return;

let todoList = document.getElementById("todo-list");
let li = document.createElement("li");

li.innerHTML = `
${todoText}
<button class="btn-delete" onclick="removeTodo(event)">🗑️</button>
`;

li.addEventListener("click", () => openModal(todoText));
todoList.appendChild(li);
todoInput.value = "";
saveToStorage();
}

function removeTodo(event) {
event.stopPropagation();
event.target.parentElement.remove();
saveToStorage();
}

function saveNote() {
let noscript = document.getElementById("note-noscript").value.trim();
let content = document.getElementById("note-content").value.trim();
if (noscript === "" || content === "") return;

let notesContainer = document.getElementById("notes-container");
let noteDiv = document.createElement("div");
noteDiv.classList.add("note");
noteDiv.innerHTML = `
<span>${noscript}</span>
<button class="btn-delete" onclick="removeNote(event, '${noscript}')">🗑️</button>
`;
noteDiv.onclick = () => openModal(noscript, content);

notesContainer.appendChild(noteDiv);

document.getElementById("note-noscript").value = "";
document.getElementById("note-content").value = "";
saveToStorage();
}

function removeNote(event, noscript) {
event.stopPropagation();
event.target.parentElement.remove();
saveToStorage();
}

function openModal(noscript, content = "") {
document.getElementById("modal-noscript").innerText = noscript;
document.getElementById("modal-content").innerText = content;
document.querySelector(".modal-overlay").style.display = "block";
document.getElementById("modal").style.display = "block";
}

function closeModal() {
document.querySelector(".modal-overlay").style.display = "none";
document.getElementById("modal").style.display = "none";
}

function toggleDarkMode() {
document.body.classList.toggle("dark-mode");
localStorage.setItem("darkMode", document.body.classList.contains("dark-mode"));
}

function saveToStorage() {
let todos = Array.from(document.querySelectorAll("#todo-list li")).map(li => li.innerText.replace("🗑️", "").trim());
let notes = Array.from(document.querySelectorAll("#notes-container .note span")).map(note => note.innerText);
localStorage.setItem("todos", JSON.stringify(todos));
localStorage.setItem("notes", JSON.stringify(notes));
}

function loadFromStorage() {
let todos = JSON.parse(localStorage.getItem("todos")) || [];
let notes = JSON.parse(localStorage.getItem("notes")) || [];

todos.forEach(todo => addTodoItem(todo));
notes.forEach(noscript => saveNoteItem(noscript));

if (localStorage.getItem("darkMode") === "true") {
document.body.classList.add("dark-mode");
}
}
Happy Coding💻
🚀 Tic-Tac-Toe Online – Can You Beat the AI? 🎉

I'm excited to launch my latest project: Tic-Tac-Toe Online! 🏆 Play against a super tough AI that’s nearly impossible to beat or challenge a friend. Think you're smart enough to win? Give it a try!

📌Features
Better UI
Shows score
Unbeatable AI

🔗 Play now: Tic-Tac-Toe

Github : Link

For those of you who beat the AI will have a gift, send me a screenshot.

Soon I will create an offline app

Let me know if you can outsmart the AI! 😈 #GameDevelopment #TicTacToe #ImpossibleAI
👍1
🧠 New Game Alert: Memory Challenge! 🎮

I'm excited to introduce my latest project: Memory Game! 🏆 Test your brainpower and see how fast you can match the cards. It’s fun, challenging, and a great way to sharpen your memory!

🔗 Play now: https://memory-game-seven-ashen.vercel.app


Git hub: Link

Think you have a sharp mind? Give it a try and let me know your best score! 🚀 #GameDevelopment #MemoryGame #BrainChallenge
Forwarded from Box-iopia
🔆 Useful and free AI models you should try!

@ethiocodecomm
Le voyage de Leul pinned «🚀 Tic-Tac-Toe Online – Can You Beat the AI? 🎉 I'm excited to launch my latest project: Tic-Tac-Toe Online! 🏆 Play against a super tough AI that’s nearly impossible to beat or challenge a friend. Think you're smart enough to win? Give it a try! 📌Features…»
Here's some advice coming from a place of love

Stop asking good developers/ channel owners/ senior's "what should I learn"

That should be a choice you make on your own based on what you want, what you are aiming for and other things

You wouldn't go to a dating coach and ask what kind of person should i want

You ask them "i want this person, how do I get them"

Decide your path, what you want to learn, then ask for help on how to learn that thing instead.
500+Free Resources.pdf
1.6 MB
For more content like this react ♥️ on the Post ✔️
We have been working on this project, I think we're nailing it.
🚀 Meet Copilot – Your AI Companion! 🤖

Looking for a knowledgeable, friendly, and intuitive AI assistant? Copilot is here to help! Whether you need coding tips, science insights, creative ideas, or just a fun conversation, I’ve got you covered.

🎯 What I can do:
Answer questions on tech, science, history, health, and more
Help with coding (Python, JavaScript, C++, and more!)
Provide writing support for articles, noscripts, and social posts
Brainstorm ideas for projects, businesses, or learning
Engage in thoughtful and fun conversations

Join me for an interactive experience where curiosity meets intelligence! Let’s explore, create, and innovate together. 🌍

https://news.1rj.ru/str/CopilotOfficialBot
Guys check this bot. It has a lot of fonts @StylishFontMakerBot
I have tried my first NEXT.Js Project.

📌Features
Responsive UI
Working Search bar

I know it's not that much cool but I will try to update myself.


Check it out. Link
🔥2