Is JavaScript good for building websites?

Hey! I’m new to Web Development and this is my first time asking for help here.

I found learning HTML and CSS quite easy, but now that I’ve started with JavaScript, I’m feeling really demotivated. I’m currently learning about the basics of the language like functions, loops, and arrays, but I’m struggling to understand how to use them to build a webpage.

Do you have any advice? I’m teaching myself everything so far, so I’d really appreciate any recommended resources.

1 Like

It is the most used programming language, with 97.7% of all websites using JavaScript as a client-side programming language. As a result, JavaScript skills are a must-have if you’re looking to get a job as a web developer.

1 Like

Yes, JavaScript is excellent for building websites, JavaScript is essential for creating interactive and dynamic web pages as It allows developers to create features such as image sliders, form validations, interactive maps, and more. JavaScript can be used for both front-end and back-end development, on the front end, it works seamlessly with HTML and CSS to create responsive and engaging user interfaces. On the back-end, technologies like Node.js allow JavaScript to be used for server-side scripting, making it possible to build full-stack applications using a single programming language. Modern JavaScript engines, such as V8 used in Google Chrome and Node.js, are highly optimized for performance. Additionally, techniques like asynchronous programming with Promises and a sync/await help to build efficient and performant applications. JavaScript is a powerful and flexible language that plays a critical role in modern web development, making it a great choice for building websites.

Indeed. Old guy here. I started building websites before JavaScript existed. It is definitely possible. And fairly straightforward.

I take the stance that JS has its place as an addition to a well-built website. To make things easier, flow more smoothly, and perform input validation in the user’s browser.

Because of that I refused to learn frameworks like Angular and React. Because people using those tend to have JS create the entire GUI and even the web server.

And very few of those sites perform well, are well accessible, and barely usable across platforms.

Yes: to be marketable now you would need to know the fashionable frameworks. But to make a decent website you don’t need any JS at all.

To be hirable? Yes. To make a nice website? Nope.