Daily Coding Challenges & Projects
Tuesday
Frontend Mini Project Challenge (Updated)
Focus: CSS Animation Effects
Challenge :
Create a glowing button using only CSS that pulses when hovered.
Requirements :
- Use @keyframes to animate a glow.
- Button should have a smooth infinite pulse effect.
.glow-button {
padding: 12px 24px;
border: none;
background: #0f0;
color: #000;
font-size: 18px;
border-radius: 8px;
box-shadow: 0 0 10px #0f0;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 10px #0f0;
}
50% {
box-shadow: 0 0 20px #0f0, 0 0 30px #0f0;
}
100% {
box-shadow: 0 0 10px #0f0;
}
}
Try it Online: JSFiddle
Backend Challenge
Language Focus: Java, Kotlin
Java Challenge :
Task : Create a RESTful API endpoint using Spring Boot that returns a list of products as JSON.
Kotlin Challenge :
Task : Write a Kotlin function that returns the first non-repeating character from a string.
Database Query Challenge
Problems on SQL - HR Database :
- Write a SQL query to list employees who joined in the last 3 months.
- Write a query to find employees whose salary is above the department average salary.
Data Structures & Algorithms Challenge
- Easy:
- Problem : Given a string, reverse it without using built-in reverse functions.
- Hint : Use a loop and swap characters.
- Medium:
- Problem : Implement a function that checks if a given linked list contains a cycle.
- Hint : Use Floyd’s cycle-finding algorithm (tortoise and hare).
- Hard:
- Problem : Given n tasks with a cooling interval k, schedule tasks such that the same task cannot be run again until after k intervals. Return the minimum time required to complete all tasks.
- Hint : Use a priority queue and greedy approach.
Bug of the Day
Language Focus: Java, Kotlin
Java Bug :
Buggy Code:
String str = null;
if (str.equals("hello")) {
System.out.println("It's hello!");
}
Challenge : What's wrong with the code? Fix it.
Kotlin Bug :
Buggy Code:
val numbers = listOf(1, 2, 3, 4)
println(numbers[4])
Challenge : What will happen? Fix the bug.
📋 Daily Micro-Project
Backend Task :
Micro Project :
Build a small backend in Kotlin (Ktor) or Java (Spring Boot) to serve a random quote from a list.
- One endpoint: /random-quote
- Response: JSON { "quote": "..." }
Trivia: 5 Fun Facts
- The first programming language was Fortran, developed in the 1950s.
- Kotlin was officially supported for Android in 2017.
- The word "bug" in computing predates actual computer bugs—it was used as early as 1878.
- Java was originally designed for interactive television.
- The Linux mascot Tux is a penguin because Linus Torvalds liked penguins.
Tool & Resource of the Day
Tool : CSS Doodle
Generate art and interactive visual patterns using CSS and custom elements.
Website :https://css-doodle.com
Resource :CSS Doodle Playground
Interview Question of the Day
Daily Interview Questions
- What is the z-index in CSS and how does it work?
- How do CSS transitions differ from CSS animations?
- What are the differences between position: relative, absolute, and fixed?
- How does Vue’s two-way data binding work?
- What is the difference between an interface and an abstract class in Java?
- What is a coroutine in Kotlin?
- How does garbage collection work in Java?
- Explain exception handling in Kotlin.
- What is a composite primary key?
- How does the GROUP BY clause work in SQL?
- What are the ACID properties of transactions?
- What is a virtual machine (VM)?
- What is an SDK, and how is it different from an API?
Daily Quiz Challenge
- Which CSS property is used for animations?
- transition
- animation
- motion
- effect
- What is the default position value for an element?
- absolute
- fixed
- relative
- static
- What will this do?
- Nothing
- Slide the div once
- Slide continuously
- Crash the browser
Frontend ( CSS Focus ) :
div { animation: slide 1s infinite; }
- What is the keyword used to inherit a class in Java?
- inherit
- extends
- super
- implements
- What is a lambda in Kotlin?
- A class
- A variable
- An anonymous function
- A package
- Java is:
- Interpreted only
- Compiled only
- Compiled and interpreted
- None of the above
Backend ( Java/Kotlin ) :
- Which clause filters rows before aggregation?
- WHERE
- HAVING
- ORDER BY
- LIMIT
Database ( SQL ) :
- Which of these is a system call?
- printf()
- malloc()
- read()
- sort()
Others :
- JavaScript and Java are:
- Same
- Interchangeable
- Totally different
- Both back-end languages
Mixed Quiz :
Weekly Cross-Domain Activities (Updated) ( May 16 to May 22, 2025 )
API of the Day:
Use the NASA Astronomy Picture of the Day (APOD) API
Challenge :
Build a mini web app that fetches and displays the daily astronomy picture from NASA's APOD API with its title and description.
- Challenge Add-on: Add a date picker to view past pictures.
- NASA APOD API Documentation
Linux/DevOps Tip :
Monitor Disk Usage with du and ncdu
Commands :
- Use du -sh * to get a summary of disk usage by folder.
- Use ncdu (if installed) for a more interactive and visual exploration of what's eating up space in your directories.
Real-World Project of the Week (Updated) ( May 16 to May 22, 2025 )
Project of the Week:
- Use a backend like Node.js, Flask, or Django.
- Use a markdown parser (like marked in JS or markdown in Python) to render posts.
- Add support for categories, tags, and featured images.
Build a Blog Platform with Markdown Support
Bonus : Allow login functionality to create/edit/delete posts.
Collaborative Project:
Create a “Dev Tools Hub” Web App.
- A multi-tool app offering features like:
- JSON formatter
- UUID generator
- Base64 encoder/decoder
- Regex tester
- Organize collaboration via GitHub and assign different tools to team members.
Case Study:
How Trello Works — Kanban Task Boards.
- Study how Trello organizes cards, lists, and boards.
- Build a mini Kanban board with drag-and-drop functionality using Sortable.js or native drag-and-drop API.
- Focus on data modeling and client-server sync logic.
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 22-04-2025 23-04-2025 24-04-2025 25-04-2025 28-04-2025 29-04-2025 30-04-2025 01-05-2025 02-05-2025 05-05-2025 06-05-2025 07-05-2025 08-05-2025 09-05-2025 12-05-2025 13-05-2025 14-05-2025 15-05-2025 16-05-2025 19-05-2025