html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Coding Ideas</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="flex flex-col min-h-screen">
<header id="welcomeSection" class="flex items-center justify-center h-screen bg-gradient-to-r from-pink-500 to-red-300 text-white text-center">
<div class="max-w-xl p-6">
<h1 class="text-5xl font-bold mb-6">Welcome to Coding Ideas Generator</h1>
<p class="text-lg mb-6">Get inspired with random coding project ideas and start building something amazing today!</p>
<a href="#" id="startButton" class="inline-block px-6 py-3 bg-red-500 text-white rounded-full text-lg font-medium transition transform hover:bg-red-600 hover:scale-105">Get Started</a>
</div>
</header>
<section id="generatorSection" class="flex-grow bg-gray-100 py-12 text-center hidden">
<div class="container mx-auto bg-white p-8 rounded-lg shadow-lg max-w-md">
<h2 class="text-3xl font-bold text-red-500 mb-6">Random Coding Ideas</h2>
<button id="generateButton" class="px-6 py-3 bg-red-500 text-white rounded-full text-lg font-medium transition transform hover:bg-red-600 hover:scale-105">Get a Coding Idea</button>
<p id="ideaDisplay" class="mt-6 text-lg text-gray-700 p-4 bg-gray-100 rounded-lg shadow-inner"></p>
</div>
</section>
<footer class="bg-red-500 text-white text-center py-4">
<p>© 2024 Coding Ideas Generator. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
body
{
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
window.onload = function() {
const codingIdeas = [
"Build a personal portfolio website",
"Create a to-do list application",
"Develop a weather forecasting app",
"Make a simple calculator",
"Create a blog platform",
"Build a real-time chat application",
"Develop a task management tool",
"Create a recipe app",
"Build an e-commerce site",
"Develop a quiz game",
"Create a note-taking app",
"Build a movie recommendation system",
"Develop a fitness tracker",
"Create a photo gallery",
"Build a personal finance tracker",
"Create a travel itinerary planner",
"Build a personal portfolio website",
"Create a to-do list application",
"Develop a weather forecasting app",
"Design a simple calculator",
"Make a digital clock",
"Code a quiz game",
"Create a photo gallery",
"Develop a note-taking app",
"Build a recipe finder",
"Code a music player"
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run