I think I see how you’re trying to envision it. The backend uses the language to connect to the database so it can store the data that comes from the front end. The front end uses the language for the UI ( essentially where the data comes from). Sometimes you have a specific language for the backend and a specific language for the front end. JavaScript is unique to where you can both use it on the front end and back end. I hope this helps!
I think I see how you’re trying to envision it. The backend uses the language to connect to the database so it can store the data that comes from the front end. The front end uses the language for the UI ( essentially where the data comes from). Sometimes you have a specific language for the backend and a specific language for the front end. JavaScript is unique to where you can both use it on the front end and back end. I hope this helps!
It helped a lot!
Now I can see the difference of both uses of code more clearly. And now I really want to learn java :)
Thank you!
You're very welcome!!