So I’ve just got to the part of the full stack developer course where I am learning about JavaScript objects. I understand the concept when it comes to physical objects ie. A car has passengers, seats, seat belts etc. I’m just wondering if anyone can offer a more literal explanation for the use of objects within web design or software development. I will do my own researching and keep practicing, but if I can be pushed in the right direction that would be great.
An object isn’t very different in programming, it really represent something
for example, on this website you might have a user object, which contains: username, picture.
or if you have a webshop, you might have products object (which contains: name, price, description, maybe a quantity field (how many of this product the customer wants to buy))