Wait, what?
Yes, exactly. Hear me out.
Believe it or not, The Human Body is synonymous to any application built with HTML, CSS & JS. And here's why:
HTML is synonymous to the skeletal system in our body. One HTML tag out of place and the entire system can break.
CSS is synonymous to the way we appear. The muscles and fats around our bones gives a structure that everyone identifies with. Muscles are the good css and Fats are the bad css. Why? 🤣 Muscles make us look good while excess fat would make us look bad.
JS is synonymous to the nervous system. It is responsible for observing the events and having callbacks for such events. Similar to the action reaction response by our nervous system.
Extending it over HTML, CSS & JS. React can be considered as transplants. If you could have someone's healthy heart, assuming yours is bad, how awesome would it be. No harm intended.
I'll add to this list as I think more about it 😄
Until next time...
PS: This is light interpretation and is not meant to be taken seriously.
Feel free to post your interpretations that could be drawn from the above. Would love to read them 😁 Maybe I would update them as well 😉
Top comments (4)
Good comparisons. I would change the React one from transplants to clothing: something that goes on top of the body and provides an extra benefit (e.g. the body by itself works just fine, but it will run faster with tennis shoes). Saying it's a transplant makes it sound like there's something wrong with the body (vanilla HTML, CSS, and JS), and that's not necessarily the case.
React is component based. That would mean it includes some structure(HTML). And hence the transplant analogy.
But I see what you say. That's why I mentioned assuming something was wrong 😊
This is how I've explained HTML, CSS, and JS for years. Great article.
Awesome Article!