<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<link rel="stylesheet" href="style.css">
<body>
    <h1>Area of a rectangle</h1>
    <h3>Enter the details:</h3>
    <div class="length dimension" >
        <p>Enter the length</p>
        <input type="number" placeholder="In cm" id="length">
    </div>
    <div class="width dimension">
        <p>Enter the width</p>
        <input type="number" placeholder="In cm" id="width">
    </div>
    <button>Check</button>
    <div class="result">
        <h3>Result: <span>0</span>cm</h3>  
    </div>
    <script src="script.js"></script>
</body>
</html>