Using JavaScript try...catch to Control Errors in Code
Errors in programs are inevitable, and JavaScript's try...catch syntax can handle error situations, making errors easier to understand and manage.
Errors in programs are inevitable, and JavaScript's try...catch syntax can handle error situations, making errors easier to understand and manage.
NPM is a package manager that is essential in JS development environment. NPM is like a platform where you can find many ready-made actors.
JavaScript's null and undefined have similar meanings of "nothing," but they fundamentally differ. This article clarifies their relationship.
It's often taught that using multiple h1 tags is wrong, but is that really the case? I delve into various perspectives and findings.
useEffect is a fundamental Hook in React. To truly learn it, you need a basic understanding of how React works.
Control flow is one of the essential concepts in programming languages. Besides using if and else, JavaScript offers the conditional (ternary) operator.
In JavaScript, functions can use any number of parameters and arguments. If a parameter has no corresponding argument, it becomes undefined.
Utilizing ES6's enhanced object literals in JavaScript can simplify code snippets and even dynamically compute properties within objects!
I enjoy using automation tools for error checking and formatting in projects. This article guides you on setting up ESLint and Prettier in Astro.
Since I am a frontend developer, why not create a portfolio website myself? Creating my own portfolio is an essential experience and a very interesting journey.
Astro, as a SSG, is very suitable for building static web pages. I will use my own portfolio as a case study to teach you to create a real website.
For decorative purposes, images are needed to display headings. I wondered if "putting images inside headings" is compliant with HTML.
A summary of three key insights gained from a year as an online teaching assistant at Hexschool, along with advice for students and teachers.
Images are essential elements that enrich web content. Understanding how to improve them is the most cost-effective choice for website performance.
"What is Ajax and Why Not Ajaj?" This question has in my mind for a long time. After some research, I wrote this article about the history of Ajax