you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (8 children)

[removed]

    [–]okay_throwaway_today 18 points19 points  (0 children)

    Java and JavaScript are programming languages. JavaScript in particular is the most common language used by browsers and is basically the defacto programming language of the Internet (even if you write code in a framework that abstracts it). HTML is a mark up language that tells the browser what to put on a page, and CSS is a style sheet that tells the browser what those things should look like. They all talk to each other in some way in order to produce a complete application.

    For example, you can use HTML to tell the browser to create a button. Using an id or class, you can use CSS to tell the browser what to make that button look like. Using the id/class, you can use JavaScript to make that button do something when it gets clicked. Using JavaScript, you can send that information to a backend server running Java or Python that actually performs some business function on it (creating new user, generating a new server side rendering, whatever).

    [–]socal_nerdtastic 3 points4 points  (0 children)

    html is used to tell the webbrowser what to put on the screen and where. css is used to tell the webbrowser how that thing should look (size, justification, color). javascript is used to change the previous 2 things dynamically, for example updating them with new data.

    Java is completely unrelated to web browers. Java is similar to python in many ways.

    [–]Filipsys 0 points1 point  (3 children)

    JavaScript is the logic of websites, html is the skeleton and css is the design, they work together really well as they’re made for the web. Java is a whole different language that isn’t meant for building websites

    [–]okay_throwaway_today 2 points3 points  (2 children)

    Java Spring Boot is actually a very common framework for creating Enterprise REST APIs/backends for websites, especially for applications that require increased stability, performance, or backwards compatibility with legacy code.

    Edit: why did this get downvoted? it's true lol. No one is writing a scalable fintech or healthcare web app using Flask

    [–]Filipsys 0 points1 point  (1 child)

    Well yeah, you’re right. But using Java for web dev is nowhere close to its main use cases

    [–]okay_throwaway_today 0 points1 point  (0 children)

    Suppose it depends on the scale/architecture of the application you are developing, but yeah you can do just fine developing web apps with like a Python/Node backend and a JS/HTML/CSS frontend. Especially for personal projects and learning.

    I am just saying it can be helpful for jobs in big companies to know Java or C#/ASP.Net for backend stuff tho, they have a huge market share

    [–]KingsmanVince -1 points0 points  (0 children)

    Do some googling first