DEV Community

loading...

Discussion on: "<!DOCTYPE html>"

Collapse
716green profile image
Bob Bass

I was building an app with the Google maps API and parcel bundler a few weeks ago. For the life of me, I couldn't figure out why my app wouldn't render. I was following documentation step by step, everything seemed logically in place.

After about an hour of fiddling around with it, I realize that I had <!DOCTYPE... at the top of my document thanks to VS Code Emmet, I always start HTML with ! Enter

I deleted it, and the map popped up on my next save. I put it back, the map disappeared.

I posted online about this and found one other person who ran into the same issue, but nobody who was able to explain it to me. It seems really strange that the Google maps API would require some sort of legacy specification.

Also, I'd really like to know if anyone else here learned HTML in the mid '90s back when we used tables to format our layouts. I recall using notepad and typing all of my tags and uppercase letters.

This was back in the early days of AOL 4.0, maybe earlier. Was that ever the standard? Or am I remembering that wrong?