August 15, 2018 07:43 pm GMT
Original Link: https://medium.com/@mandy.michael/understanding-why-semantic-html-is-important-as-told-by-typescript-bd71ad41e6c4
Understanding why Semantic HTML is important, as told by TypeScript
What a great technological analogy by Mandy Michael. A reminder that TypeScript...
makes use of static typing so, for example, you can give your variables a type when you write your code and then TypeScript checks the types at compile time and will throw an error if the variable is given a value of a different type.
In other words, you have a variable age
that you declare to be a number
, the value for age
has to stay …
The post Understanding why Semantic HTML is important, as told by TypeScript appeared first on CSS-Tricks.
Original Link: https://medium.com/@mandy.michael/understanding-why-semantic-html-is-important-as-told-by-typescript-bd71ad41e6c4
Share this article:
Tweet
View Full Article