Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
Nice article! I've a question about semantically use classes to define unique wrappers on the layout.
I assume you will have only a "main-content" per view so why don't use an id instead on a global class?
You can use the same id on different views but nor repeating ids on the same, so you can attach the styling you want for being common on #main-content instead making it global using a class.
Ids Are useful to scope JavaScript and CSS being not applicable on a different scope and making it to run efficiently (and faster btw).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article! I've a question about semantically use classes to define unique wrappers on the layout.
I assume you will have only a "main-content" per view so why don't use an id instead on a global class?
You can use the same id on different views but nor repeating ids on the same, so you can attach the styling you want for being common on #main-content instead making it global using a class.
Ids Are useful to scope JavaScript and CSS being not applicable on a different scope and making it to run efficiently (and faster btw).