User:Kishore016

<!DOCTYPE html>    Input Box and Button  Submit  body { font-family: Arial, sans-serif; }

.container { text-align: center; margin-top: 20px; }

input[type="text"] { padding: 10px; font-size: 16px; }

button { padding: 10px 20px; font-size: 16px; background-color: #007BFF; color: #fff; border: none; cursor: pointer; }

button:hover { background-color: #0056b3; }

document.addEventListener("DOMContentLoaded", function {   const inputBox = document.getElementById("inputBox");    const inputButton = document.getElementById("inputButton");    const output = document.getElementById("output");

inputButton.addEventListener("click", function {       const inputValue = inputBox.value;        output.innerHTML = `You entered: ${inputValue}`;    }); });