Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Design a card layout where content slides up on hover.

Hard

Problem Statement

Design a card layout where content slides up on hover.

Sample Output

Hovering over the card slides up additional content.

Limits

Time: 2s · Memory: 256 MB

Code Editor

Try your code in this preview. Submit marks it done.

<!DOCTYPE html> <html> <head> <style> /* Add CSS here to style the sliding card effect */ </style> </head> <body> <div class="card"> <div class="image">Image</div> <div class="content">Extra Content</div> </div> </body> </html>

Document

To view the HTML changes, please type the code within the editor