ByteGrad / Professional-JavaScript-Course

This repo contains everything you need as a student of the Professional JavaScript Course by ByteGrad.com
https://bytegrad.com/courses/professional-javascript
46 stars 27 forks source link

Why body class in corpComment ? #1

Closed madhavanand-github closed 2 years ago

madhavanand-github commented 2 years ago

As we can have only 1 body tag, may I know the purpose of adding a class named “body” in body tag.

ByteGrad commented 2 years ago

I switch back and forth on this. Any way is fine, it doesn’t matter. It’s purely your preference. I currently don’t add a class to body/html tags.

On Wed, 17 Aug 2022 at 09:22, Madhav Anand @.***> wrote:

As we can have only 1 body tag, may I know the purpose of adding a class named “body” in body tag.

— Reply to this email directly, view it on GitHub https://github.com/ByteGrad/Professional-JavaScript-Course/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATSBVCPNS2BDZQW2NPDPSQLVZSHK5ANCNFSM56YNMEMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

madhavanand-github commented 2 years ago

Thanks 👍