I've just started learning the basics of C# and I'm eager to kick off a project by building a website. I've heard a lot about needing to know JavaScript too. Is this true, or can I get away with just using C# for my project?
4 Answers
You can definitely create a website using just C#. Consider using Razor Pages or Blazor. Remember that the front end is mainly about presenting the data from the back end, so what you choose really depends on how you want to shape that data for users. If you do decide to venture into JavaScript, I'd suggest looking into Quasar with Vue since it's easy to set up and works smoothly if you're coming from a C# background.
Your website will have both front and back ends. C# is great for the back end, where you'll handle database interactions. The front end, which is what users see, usually relies on JavaScript libraries. However, Blazor now allows you to use C# for front-end tasks too, which is awesome. If you're out for a career boost, learning some JavaScript could be beneficial. But if you're focused on quickly building something and feel confident with C#, Blazor is a solid choice.
Yes, you'll want to learn a bit of JavaScript at some point. I suggest getting some foundational skills in HTML, CSS, and JS first. Building a static webpage with those will really help when you dive into back-end projects like MVC, Razor, or Blazor.
I recommend using either Blazor or ASP.NET MVC with Razor Pages. Some developers might shy away from MVC because it's not the latest trend, but it still does a great job. Just steer clear of using web forms for modern projects!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically