Home
Tutorial
Quiz App
Build Quiz App using HTML, CSS and JavaScript
Online HTML Editor : Quiz App Start Screen
Run Output
Output Rosolution:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Quiz</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap" rel="stylesheet"> <style> *{ margin: 0; padding: 0; box-sizing: border-box; } body{ background: #911ae2; font-family: 'Roboto', sans-serif; } .start_quiz{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 2px solid #fff; padding: 10px 30px; color: #fff; border-radius: 10px; font-size: 24px; cursor: pointer; transition: all 0.3s; } .start_quiz:hover{ background: #fff; color: #911ae2; } </style> </head> <body> <div class="start_quiz">Start Quiz</div> </body> </html>