Articles from traintocode.com
What is JavaScript Strict Mode and Why You Should Use It?
Explore the benefits of JavaScripts strict mode in enhancing code reliability and preventing common mistakes. This article delves into its features, real-world examples, and reasons why both beginners and pros should consider its adoption.
How to Run TypeScript in VS Code
Learn how to set up, run, and debug TypeScript in Visual Studio Code. This guide provides step-by-step instructions to enhance your JavaScript development process. Dive into the seamless integration of TypeScript with VSCode for a productive coding session.
First Class Functions in Javascript
This article introduces you to first class functions, and how functions can be treated as first class citizens in programming, demonstrating their utility and practical applications in Javascript.
Simple marketing website with tailwind CSS and React
Complete guide to building a landing page for a SaaS application from scratch, using Vite + React + Tailwind
Adding animations with Lottie in React
You will be amazed at how simple adding pre-made animations to your React website can be with Lottie, the JSON-based animation library.
Landing pages with dark mode
See how to respond to your users' color scheme setting by displaying your landing page in dark mode, using Tailwind CSS
How DNS works
Domain names, name servers, host names and IP addresses. This article will explain what these things really mean and how they come together to create the Domain Name System (DNS).
Why the C# Record type is important
C#'s new Record type is more than just syntactic sugar, it is a sign of the changing tides of code architecture.
Stop using test@test.com to test your application
Implications of sending test data to an unknown third party, and what you should do instead
Adding Syntax Highlighting to Gatsby MDX with Prism
How to use PrismJS to add syntax highlighting to Gatsby pages
IEnumerable Is Not A List!
Demystifying the IEnumerable interface in .NET
Five Ways To Code More Defensively
Stay friends with your co-workers by writing defensive code they cannot break
When To Write Comments In Your Code
…and when you probably don't need to bother
Dependency Injection in Console Apps (C#)
Smart argument binding and DI in .NET Core Console Apps
The .NET Venn Diagram
How moving your code to .NET Standard can help you migrate to dotnet core