Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge
CSS Animation Challenge:
Challenge:
- Create a "Pulse" Animation for a Notification Bell
Task:
- Use only CSS to animate a bell icon so it gently pulses every 2 seconds.
- Use @keyframes, transform, and animation-timing-function.
Try it online: CodePen Playground
Backend Challenge
Java/Kotlin
- Build a File-Based Key-Value Store
Kotlin Challenge:
Task:
- Write a simple Kotlin script to store key-value pairs in a local file.
- Support commands: set key value, get key, delete key.
Bonus: Add JSON storage support.
Database Query Challenge
Problems on SQL - HR Database :
- Find employees who earn more than the average salary of their department.
- List departments that have more than 5 employees who were hired in the last 6 months.
Data Structures & Algorithms Challenge
- Easy:
- Problem: Find the Second Largest Number in an Array
- Hint: Use one pass to track both largest and second largest.
- Medium:
- Problem: Find All Pairs With a Given Sum (Two-Pointer Approach)
- Hint: Sort first, then use left and right pointers.
- Hard:
- Problem: Minimum Window Substring (Sliding Window + Hash Map)
- Hint: Track character counts and use two pointers to shrink the window.
Bug of the Day
Language Focus: Java
Buggy Code:
public class Hello {
public static void main(String[] args) {
int[] numbers = null;
for (int i = 0; i < numbers.length; i++) {
System.out.println(numbers[i]);
}
}
}
Challenge: Find and fix the bug causing a runtime exception.
📋 Daily Micro-Project
Task: Backend
Build a RESTful API with Java + Spring Boot
- Endpoint: /api/employees
- Function: GET request returns a static list of employee JSONs
- Stretch Goal: Add filtering by department with query param
Trivia: 5 Fun Facts
- Kotlin was developed by JetBrains and officially supported by Google since 2017.
- CSS was first proposed by Håkon Wium Lie in 1994.
- Java was originally called Oak.
- SQL was initially developed at IBM in the early 1970s.
- The first ever website is still online: info.cern.ch
Tool of the Day
Tool : Animista
- CSS Tricks Animation Guide
- Kotlin Official Docs
- Java Spring Boot Tutorial (Baeldung)
Resource Roundup:
Interview Question of the Day
Daily Interview Questions
- What are pseudo-classes in CSS?
- How does the z-index work?
- What is the difference between position: relative and absolute?
- How do you optimize CSS animations for performance?
- Explain the JVM and how it works.
- How does exception handling work in Java?
- What are data classes in Kotlin?
- What is dependency injection in Spring Framework?
- What are aggregate functions in SQL?
- Difference between HAVING and WHERE.
- What is normalization and why is it important?
- What is garbage collection in programming?
- What are environment variables used for?
Daily Quiz Challenge
Frontend :
- What does transform: scale(1.2) do in CSS?
- Which property controls animation duration?
- What’s the default position of HTML elements?
Backend :
- What keyword is used for inheritance in Java?
- In Kotlin, which symbol is used for null-safety (?., !!, ?:)
- What does @RestController do in Spring Boot?
Others :
- What SQL clause groups rows?
- Which programming language runs on the JVM and is statically typed?
Mixed :
- What does querySelector() do in JS?
- What is a DTO in backend systems?
- What is a composite primary key in SQL?
Weekly Cross-Domain Activities ( April 18 to 24, 2025 )
API of the Day:
Build a currency converter using the ExchangeRate API
- Fetch live exchange rates
- User selects currency pair and amount
- Displays converted amount instantly
Linux/DevOps Tip:
10 Commands to Monitor Server Health:
Real-World Project of the Week ( April 18 to 24, 2025 )
Project of the Week:
- Tech Stack Options:
- React + Node.js + PostgreSQL
Build a Task Manager App with login, add/edit/delete tasks, and due date reminders
Collaborative Project:
Open-source GitHub Project: Habit Tracker App** ← let users add habits, track streaks, share progress. Invite community collaboration!
Case Study:
- Real-time updates using WebSockets
- Kanban board layout
- Offline support via IndexedDB
How Trello Works Under the Hood
Previous Daily Coding Challenges & Projects : 04-04-2025 07-04-2025 08-04-2025 09-04-2025 10-04-2025 11-04-2025 14-04-2025 15-04-2025 16-04-2025 17-04-2025 18-04-2025 21-04-2025