OneCompiler

King of the top

114


Example heading with h2 size

Example heading with h3 size

Following is sample java code.

int i = 10;
if(i>0){
    System.out.println('positive');
}

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Credit Card UI</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f4f4f4; } .card { width: 350px; height: 200px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 15px; color: white; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); font-family: Arial, sans-serif; } .chip { width: 50px; height: 35px; background: gold; border-radius: 5px; } .number { font-size: 18px; letter-spacing: 3px; margin-top: 20px; } .info { display: flex; justify-content: space-between; margin-top: 20px; font-size: 14px; } .bank { font-size: 16px; font-weight: bold; text-transform: uppercase; } </style> </head> <body> <div class="card"> <div class="bank">Bank Name</div> <div class="chip"></div> <div class="number">1234 5678 9012 3456</div> <div class="info"> <div>Card Holder<br><strong>John Doe</strong></div> <div>Exp: 12/25</div> </div> </div> </body> </html>