Can someone explain why the ‘HttpModule’ is crossed out?
I tried to follow the structure program of my instructor because I’m coding along with him. I must have missed something but I can’t figure out what.
So actually the Http module that you are using is officially deprecated and hence it is crossed out
You will have to use a newer HttpClientModule instead
It’s an upgraded version of http from @angular/http module