i have created a detect key project using html javascript css
<title>Detect Key Presses</title>- { padding: 0; margin: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; } body { height: 100vh; background-color: #2887e3; } #result { background-color:tomato; width: 80vw; max-width: 600px; position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; padding: 80px 40px; text-align: center; color: #f5f5f5; font-size: 3.6vmin; border-radius: 10px; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2); font-style: italic; } #result span:nth-child(1) { color: #2887e3; font-size: 3em; display: block; font-style: normal; } #result span:nth-child(2) { font-size: 1.5em; font-style: normal;
in the end project ur html file on browse