Frontend Development Articles

What is the HTML Role Attribute?

What is the HTML Role Attribute?

The role attribute is an important aspect of accessibility. Reading more about it in this article.

Dec 23, 2022

How to Add the lang Attribute to the Root of your Next JS Website without _document.js

How to Add the lang Attribute to the Root of your Next JS Website without _document.js

Add the lang attribute to the root of your Next JS website without creating a _document.js file
Next JS Data Fetching: How to Fetch Data in a React Server Component

Next JS Data Fetching: How to Fetch Data in a React Server Component

Fetch data in React server components with Next.js for improved performance and SEO optimization
The CSS var() Function – How to Create and Use CSS Variables

The CSS var() Function – How to Create and Use CSS Variables

Yes. You can declare and reuse variables in CSS by reading this article.

Dec 28, 2022

How to Create Environment Variables Inside next.config.js File and Use them

How to Create Environment Variables Inside next.config.js File and Use them

You can put your environment variables in a next.config.js file
What is the Difference between a .js and .jsx File in React?

What is the Difference between a .js and .jsx File in React?

A JavaScript and JSX file are not exactly the same thing. There's one notable difference between them you can learn of in this article.

May 23, 2023