Getting Unexpected closing tag Errors. all Tags properly closed still getting Error

Hi Team,

started learning ionic and halted here with the Error Unexpected closing tag “p”. It may happen when the tag has already been closed by another tag. For more info see ("<p color=“danger” ion-text "ngIf=“todo.get(‘familyname’).hasError(‘required’)”> Family Name required[ERROR ->]</p> </ion-item>

Code below. Kindly suggests what is wrong with below. Thanks in Advance:_


Family Name required



<ion-input type=“text” formControlName=“familyname”></ion-input>


<ion-item "ngIf=“todo.get(‘familyname’).errors && todo.get(‘familyname’).dirty”>

<p color=“danger” ion-text "ngIf=“todo.get(‘familyname’).hasError(‘required’)”> Family Name required</p>