title: Angular form submit not woking
body: <p>Please help my angular form (submit) not working. I am making a login app and I am also a beginner to angular. Please help me in finding the problem.</p>
  
  <p>login.component.html</p>
  
  <pre><code>&lt;form (submit)="loginUser($event)"&gt;
    &lt;input type="text" placeholder="Enter Username"&gt;
    &lt;input type="password" placeholder="Enter Password"&gt;
    &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>login.component.ts</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  
  @Component({
    selector: 'app-login',
    templateUrl: './login.component.html',
    styleUrls: ['./login.component.css']
  })
  export class LoginComponent implements OnInit {
  
    constructor() { }
  
    ngOnInit() {
    }
  
    loginUser(event) {
      event.preventDefault()
        Console.log(event)
    }
  
  }
  </code></pre>