|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>Frontend Challenges</title> |
| 6 | + <style> |
| 7 | + body { |
| 8 | + font-family: 'Segoe UI', sans-serif; |
| 9 | + background-color: #f8f9fc; |
| 10 | + margin: 0; |
| 11 | + padding: 2rem; |
| 12 | + } |
| 13 | + h1 { |
| 14 | + color: #2d3748; |
| 15 | + margin-bottom: 0.5rem; |
| 16 | + } |
| 17 | + p.description { |
| 18 | + color: #4a5568; |
| 19 | + margin-bottom: 2rem; |
| 20 | + } |
| 21 | + .challenge-list { |
| 22 | + display: grid; |
| 23 | + gap: 1.2rem; |
| 24 | + } |
| 25 | + .challenge { |
| 26 | + background: white; |
| 27 | + padding: 1rem 1.5rem; |
| 28 | + border-radius: 12px; |
| 29 | + box-shadow: 0 4px 12px rgba(0,0,0,0.05); |
| 30 | + transition: 0.3s ease; |
| 31 | + } |
| 32 | + .challenge:hover { |
| 33 | + transform: translateY(-3px); |
| 34 | + box-shadow: 0 6px 18px rgba(0,0,0,0.1); |
| 35 | + } |
| 36 | + .challenge-title { |
| 37 | + font-weight: 600; |
| 38 | + color: #2b6cb0; |
| 39 | + margin-bottom: 0.4rem; |
| 40 | + } |
| 41 | + .challenge-desc { |
| 42 | + color: #718096; |
| 43 | + font-size: 0.95rem; |
| 44 | + } |
| 45 | + .explorebtn { |
| 46 | + margin-top: 0.5rem; |
| 47 | + padding: 0.3rem 0.8rem; |
| 48 | + background-color: #0778f1; |
| 49 | + color: white; |
| 50 | + border-radius: 8px; |
| 51 | + text-align: right; |
| 52 | + cursor: pointer; |
| 53 | + transition: background-color 0.3s ease; |
| 54 | + font-size: 0.92rem; |
| 55 | + float: right; |
| 56 | + } |
| 57 | + .explorebtn:hover { |
| 58 | + background-color: #034081; |
| 59 | + } |
| 60 | + </style> |
| 61 | +</head> |
| 62 | +<body> |
| 63 | + |
| 64 | + <h1>Frontend Challenges</h1> |
| 65 | + <p class="description">Sharpen your HTML, CSS, and JavaScript skills with these real-world UI building tasks:</p> |
| 66 | + |
| 67 | + <div class="challenge-list"> |
| 68 | + <div class="challenge"> |
| 69 | + <div class="challenge-title">Responsive Navbar</div> |
| 70 | + <div class="challenge-desc">Build a responsive navigation bar with a hamburger menu for mobile view.</div> |
| 71 | + <div class="explorebtn"> Explore more </div> |
| 72 | + </div> |
| 73 | + |
| 74 | + <div class="challenge"> |
| 75 | + <div class="challenge-title">Pricing Card</div> |
| 76 | + <div class="challenge-desc">Design and code a modern pricing card layout using flexbox or grid.</div> |
| 77 | + <div class="explorebtn"> Explore more </div> |
| 78 | + </div> |
| 79 | + |
| 80 | + <div class="challenge"> |
| 81 | + <div class="challenge-title">Login Form UI</div> |
| 82 | + <div class="challenge-desc">Create a stylish login/signup form with smooth transitions.</div> |
| 83 | + <div class="explorebtn"> Explore more </div> |
| 84 | + </div> |
| 85 | + |
| 86 | + <div class="challenge"> |
| 87 | + <div class="challenge-title">Landing Page</div> |
| 88 | + <div class="challenge-desc">Design a hero section with a call-to-action button and a background image.</div> |
| 89 | + <div class="explorebtn"> Explore more </div> |
| 90 | + </div> |
| 91 | + |
| 92 | + <div class="challenge"> |
| 93 | + <div class="challenge-title">Image Gallery</div> |
| 94 | + <div class="challenge-desc">Make a responsive image gallery that adjusts across devices using CSS Grid.</div> |
| 95 | + <div class="explorebtn"> Explore more </div> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + |
| 99 | +</body> |
| 100 | +</html> |
0 commit comments