💥Here we go again, I did it 💥
🚀 NASA News Hub is finally live.
🌍 Overview
NASA News Hub is a web application that brings you the latest news and developments from NASA. Whether you're a space enthusiast, a student, or just curious about the universe, our platform keeps you informed with real-time updates! 🛰️🔭
✨ Features
✅ Latest NASA News – Stay updated with the most recent articles and space discoveries.
✅ Search Functionality – Find news articles quickly using keywords or topics.
✅ Responsive Design – Works seamlessly on desktops, tablets, and mobile devices.
✅ API Integration – Fetches real-time data from NASA's official APIs.
🛠 Technologies Used
🌐 Frontend: HTML, CSS, JavaScript
🔗 API: NASA's Open APIs for live news updates
☁ Hosting: Deployed on Vercel for speed and reliability
🚀 Getting Started
To run this project locally, follow these steps:
1️⃣ Clone the repository:
🌍 Live Website
We’d love to hear your feedback! 🚀🌎
👉https://nasa-news-pearl.vercel.app/
🚀 NASA News Hub is finally live.
🌍 Overview
NASA News Hub is a web application that brings you the latest news and developments from NASA. Whether you're a space enthusiast, a student, or just curious about the universe, our platform keeps you informed with real-time updates! 🛰️🔭
✨ Features
✅ Latest NASA News – Stay updated with the most recent articles and space discoveries.
✅ Search Functionality – Find news articles quickly using keywords or topics.
✅ Responsive Design – Works seamlessly on desktops, tablets, and mobile devices.
✅ API Integration – Fetches real-time data from NASA's official APIs.
🛠 Technologies Used
🌐 Frontend: HTML, CSS, JavaScript
🔗 API: NASA's Open APIs for live news updates
☁ Hosting: Deployed on Vercel for speed and reliability
🚀 Getting Started
To run this project locally, follow these steps:
1️⃣ Clone the repository:
git clone https://github.com/akl-leul/nasa-news-.git
🌍 Live Website
We’d love to hear your feedback! 🚀🌎
👉https://nasa-news-pearl.vercel.app/
🔥2
Le voyage de Leul
💥Here we go again, I did it 💥 🚀 NASA News Hub is finally live. 🌍 Overview NASA News Hub is a web application that brings you the latest news and developments from NASA. Whether you're a space enthusiast, a student, or just curious about the universe…
NASA News Hub
NASA News Hub - Latest News and Updates from NASA
Explore thousands of English word definitions, synonyms, and more with YourDictionaryName. Improve your language skills effortlessly.
⚡2
Success is the sum of small efforts, repeated day in and day out.
– Robert Collier
Le voyage de Leul
https://nasa-news-pearl.vercel.app/
🎉I made new updates for this.
Now any user can send direct message to my email.
Wanna have a try?
Https://nasa-news-pearl.vercel.app/contact.html
Now any user can send direct message to my email.
Wanna have a try?
Https://nasa-news-pearl.vercel.app/contact.html
I have been trying to create these projects. And I want to share you the code, so choose one of them and I will post the whole code here.
Final Results
43%
Note taking and To do list
14%
Tic tac too game
43%
Memory game
Le voyage de Leul
I have been trying to create these projects. And I want to share you the code, so choose one of them and I will post the whole code here.
Note taking and memory game websites were chosen. So I have to choose one.
I think many people want the note taking one. So I will send it now.
I think many people want the note taking one. So I will send it now.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<noscript>To-Do & Notes App</noscript>
</head>
<body>
<div class="container">
<h1>To-Do & Notes</h1>
<button class="btn-dark-mode" onclick="toggleDarkMode()">🌙/🌞</button>
<div>
<h2>To-Do List</h2>
<input type="text" id="todo-input" placeholder="Add a new task">
<button class="btn-add" onclick="addTodo()">Add</button>
<ul id="todo-list"></ul>
</div>
<div>
<h2>Notes</h2>
<input type="text" id="note-noscript" placeholder="Title" required>
<textarea id="note-content" placeholder="Write your note here..." required ></textarea>
<button class="btn-add" onclick="saveNote()">Save Note</button>
<div id="notes-container"></div>
</div>
</div>
<div class="modal-overlay" onclick="closeModal()"></div>
<div class="modal" id="modal">
<h3 id="modal-noscript"></h3>
<p id="modal-content"></p>
<button onclick="closeModal()">Close</button>
</div>
</body>
</html>
👍1
: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");
}
}🚀 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
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
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