It is necessary to show the user when the data entered in the form is sufficient.
If the user has entered more than 4 characters in both the email and password fields, change the background of the button to #90E39A.
If the user deletes characters in at least one field and there are less then 5 symbols, the background color should be returned.
Use the internal script.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

index.html

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <style>
      * {
        font-family: monospace;
      }
      body {
        margin: 0;
        height: 100vh;
        background-color: #706993;
        display: grid;
        place-items: center;
      }
      form {
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 360px;
        padding: 32px;
        box-sizing: border-box;
      }
      input, button {
        padding: 15px;
        font-size: 14px;
        border: none;
      }
      input {
        outline: none;
        background-color: #f2f2f2;
        margin-bottom: 16px;
      }
      button {
        color: white;
        background-color: #331E38;
      }
    </style>
  </head>
  <body>
    <form>
      <input type="text" name="email" placeholder="email">
      <input type="password" placeholder="password">
      <button>LOGIN</button>
    </form>
  </body>
</html>