How do frontend work?

Ok thanks, so it’s kind of like reverse engineering.