-
Notifications
You must be signed in to change notification settings - Fork 307
Add individual challenge pages (Frontend, JS Logic, UI, etc.) #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
faisal07777
merged 1 commit into
opensource-society:main
from
HayatZarine:add-challenges
Jul 27, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Backend Basics Challenges</title> | ||
| <style> | ||
| body { font-family: 'Segoe UI', sans-serif; background: #fefefe; padding: 2rem; } | ||
| h1 { color: #2d3748; } | ||
| p.description { color: #4a5568; margin-bottom: 2rem; } | ||
| .challenge-list { display: grid; gap: 1.2rem; } | ||
| .challenge { | ||
| background: white; | ||
| padding: 1rem 1.5rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | ||
| transition: 0.3s ease; | ||
| } | ||
| .challenge:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 6px 18px rgba(0,0,0,0.1); | ||
| } | ||
| .challenge-title { font-weight: 600; color: #e53e3e; } | ||
| .challenge-desc { color: #718096; font-size: 0.95rem; } | ||
| </style> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h1>Backend Basics Challenges</h1> | ||
| <p class="description">Start your backend journey by completing these API and server-side logic tasks:</p> | ||
|
|
||
| <div class="challenge-list"> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Simple API Server</div> | ||
| <div class="challenge-desc">Create a basic Express or Flask API that returns JSON data.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Form Submission Backend</div> | ||
| <div class="challenge-desc">Accept and store form data sent from a frontend using POST.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">User Auth Basics</div> | ||
| <div class="challenge-desc">Implement simple login/signup logic using sessions or JWT.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">CRUD with SQLite</div> | ||
| <div class="challenge-desc">Build a Create/Read/Update/Delete API for a todo app.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">API Documentation</div> | ||
| <div class="challenge-desc">Use Swagger or Postman to document your API endpoints.</div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Frontend Challenges</title> | ||
| <style> | ||
| body { | ||
| font-family: 'Segoe UI', sans-serif; | ||
| background-color: #f8f9fc; | ||
| margin: 0; | ||
| padding: 2rem; | ||
| } | ||
| h1 { | ||
| color: #2d3748; | ||
| margin-bottom: 0.5rem; | ||
| } | ||
| p.description { | ||
| color: #4a5568; | ||
| margin-bottom: 2rem; | ||
| } | ||
| .challenge-list { | ||
| display: grid; | ||
| gap: 1.2rem; | ||
| } | ||
| .challenge { | ||
| background: white; | ||
| padding: 1rem 1.5rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | ||
| transition: 0.3s ease; | ||
| } | ||
| .challenge:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 6px 18px rgba(0,0,0,0.1); | ||
| } | ||
| .challenge-title { | ||
| font-weight: 600; | ||
| color: #2b6cb0; | ||
| margin-bottom: 0.4rem; | ||
| } | ||
| .challenge-desc { | ||
| color: #718096; | ||
| font-size: 0.95rem; | ||
| } | ||
| .explorebtn { | ||
| margin-top: 0.5rem; | ||
| padding: 0.3rem 0.8rem; | ||
| background-color: #0778f1; | ||
| color: white; | ||
| border-radius: 8px; | ||
| text-align: right; | ||
| cursor: pointer; | ||
| transition: background-color 0.3s ease; | ||
| font-size: 0.92rem; | ||
| float: right; | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| .explorebtn:hover { | ||
| background-color: #034081; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h1>Frontend Challenges</h1> | ||
| <p class="description">Sharpen your HTML, CSS, and JavaScript skills with these real-world UI building tasks:</p> | ||
|
|
||
| <div class="challenge-list"> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Responsive Navbar</div> | ||
| <div class="challenge-desc">Build a responsive navigation bar with a hamburger menu for mobile view.</div> | ||
| <div class="explorebtn"> Explore more </div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Pricing Card</div> | ||
| <div class="challenge-desc">Design and code a modern pricing card layout using flexbox or grid.</div> | ||
| <div class="explorebtn"> Explore more </div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Login Form UI</div> | ||
| <div class="challenge-desc">Create a stylish login/signup form with smooth transitions.</div> | ||
| <div class="explorebtn"> Explore more </div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Landing Page</div> | ||
| <div class="challenge-desc">Design a hero section with a call-to-action button and a background image.</div> | ||
| <div class="explorebtn"> Explore more </div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Image Gallery</div> | ||
| <div class="challenge-desc">Make a responsive image gallery that adjusts across devices using CSS Grid.</div> | ||
| <div class="explorebtn"> Explore more </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <title>Open Source Challenges</title> | ||
| <style> | ||
| body { font-family: 'Segoe UI', sans-serif; background: #fefefe; padding: 2rem; } | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| h1 { color: #2d3748; } | ||
| p.description { color: #4a5568; margin-bottom: 2rem; } | ||
| .challenge-list { display: grid; gap: 1.2rem; } | ||
| .challenge { | ||
| background: white; | ||
| padding: 1rem 1.5rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | ||
| transition: 0.3s ease; | ||
| } | ||
| .challenge:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 6px 18px rgba(0,0,0,0.1); | ||
| } | ||
| .challenge-title { font-weight: 600; color: #dd6b20; } | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| .challenge-desc { color: #718096; font-size: 0.95rem; } | ||
| </style> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h1>Open Source Challenges</h1> | ||
| <p class="description">Start contributing to open source by completing these beginner-friendly tasks:</p> | ||
|
|
||
| <div class="challenge-list"> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Find a Good First Issue</div> | ||
| <div class="challenge-desc">Use GitHub filters to find beginner-friendly open issues and comment on one.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Fork & Clone a Repo</div> | ||
| <div class="challenge-desc">Fork a project, clone it, and set up the local dev environment.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Make a Pull Request</div> | ||
| <div class="challenge-desc">Fix a typo or small bug and raise a PR to get your first contribution.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Improve a README</div> | ||
| <div class="challenge-desc">Find a project with a weak README and add helpful info or setup steps.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Join a GitHub Discussion</div> | ||
| <div class="challenge-desc">Participate in an open-source discussion thread and share suggestions.</div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>JavaScript Logic Challenges</title> | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <style> | ||
| body { | ||
| font-family: 'Segoe UI', sans-serif; | ||
| background-color: #f8f9fc; | ||
| margin: 0; | ||
| padding: 2rem; | ||
| } | ||
| h1 { | ||
| color: #2d3748; | ||
| margin-bottom: 0.5rem; | ||
| } | ||
| p.description { | ||
| color: #4a5568; | ||
| margin-bottom: 2rem; | ||
| } | ||
| .challenge-list { | ||
| display: grid; | ||
| gap: 1.2rem; | ||
| } | ||
| .challenge { | ||
| background: white; | ||
| padding: 1rem 1.5rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | ||
| transition: 0.3s ease; | ||
| } | ||
| .challenge:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 6px 18px rgba(0,0,0,0.1); | ||
| } | ||
| .challenge-title { | ||
| font-weight: 600; | ||
| color: #d69e2e; | ||
| margin-bottom: 0.4rem; | ||
| } | ||
| .challenge-desc { | ||
| color: #718096; | ||
| font-size: 0.95rem; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h1>JavaScript Logic Challenges</h1> | ||
| <p class="description">Improve your problem-solving and core JavaScript skills with these logic-based challenges:</p> | ||
|
|
||
| <div class="challenge-list"> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Palindrome Checker</div> | ||
| <div class="challenge-desc">Write a function to check if a string reads the same backward as forward.</div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">FizzBuzz</div> | ||
| <div class="challenge-desc">Classic logic problem to print numbers with special rules for multiples of 3 and 5.</div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Anagram Validator</div> | ||
| <div class="challenge-desc">Create a function that checks whether two strings are anagrams.</div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Factorial Calculator</div> | ||
| <div class="challenge-desc">Write a function that calculates the factorial of a number using recursion.</div> | ||
| </div> | ||
|
|
||
| <div class="challenge"> | ||
| <div class="challenge-title">Array Flattener</div> | ||
| <div class="challenge-desc">Flatten a deeply nested array using recursion or iterative logic.</div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>UI Design Tasks</title> | ||
| <style> | ||
| body { font-family: 'Segoe UI', sans-serif; background: #f9fafb; padding: 2rem; } | ||
| h1 { color: #2d3748; } | ||
| p.description { color: #4a5568; margin-bottom: 2rem; } | ||
| .challenge-list { display: grid; gap: 1.2rem; } | ||
| .challenge { | ||
| background: white; | ||
| padding: 1rem 1.5rem; | ||
| border-radius: 12px; | ||
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | ||
| transition: 0.3s ease; | ||
| } | ||
| .challenge:hover { | ||
| transform: translateY(-3px); | ||
| box-shadow: 0 6px 18px rgba(0,0,0,0.1); | ||
| } | ||
| .challenge-title { font-weight: 600; color: #38a169; } | ||
HayatZarine marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| .challenge-desc { color: #718096; font-size: 0.95rem; } | ||
| </style> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h1>UI Design Tasks</h1> | ||
| <p class="description">Strengthen your UI/UX skills by building visually appealing components:</p> | ||
|
|
||
| <div class="challenge-list"> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Profile Card UI</div> | ||
| <div class="challenge-desc">Design and build a profile card with image, name, and social links.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Pricing Table</div> | ||
| <div class="challenge-desc">Create a clean and responsive pricing component for a SaaS app.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Login Page UI</div> | ||
| <div class="challenge-desc">Design a modern login form with input validation UI.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Navbar with Dropdown</div> | ||
| <div class="challenge-desc">Build a responsive navigation bar with dropdown support.</div> | ||
| </div> | ||
| <div class="challenge"> | ||
| <div class="challenge-title">Dark Mode Toggle</div> | ||
| <div class="challenge-desc">Add a dark mode toggle switch with a smooth transition effect.</div> | ||
| </div> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.