Category Archives: Web Programming

12 Top Youtube Channels to Learn ReactJS

12 top youtube channels to learn reactjs

My top channels to learn ReactJS

Hello everyone, today I am going to share my favorite Youtube channels to learn ReacJS from scratch. These channels are so popular and you might already know. If you are new to these youtube channel, then check out once and if you like the content subscribe for future videos.

1. Codevolution

This channel has tutorials on various topics related programming. It contains large number of different kind of playlists regarding ReactJs covering almost all the topics that are beneficial for any developer who wants to master as ReactJS developer. The playlists cover beginner levels to more advance concept such as React router, React with Typescript and state management, Redux and etc.

Stats as of today (20/10/2022)

Joined Nov 20, 2015

430K subscribers 76,468,938 views

Playlists can be found here: Codevolution

2. The Lean Programmer

Creator of this channel Madhav, who has contributed a lot to the programming community and currently working as a Software Engineer at Microsoft. This channel teaches you React from beginner to advanced level by building projects. You can learn React from scratch, state management and React with Typescript by doing the projects on the channel.

Stats as of today (20/10/2022)

Joined Jan 12, 2012

10.4K subscribers 271,051 views

Playlists can be found here: TheLeanProgrammer

3. Academind

If you want to learn programming then this is a go to channel. It contains courses and tutorials that teach you everything related to web development. No matter if it’s programming languages like JavaScript, runtimes like NodeJS or popular frameworks like ReactJS, Angular or VueJS, this channel covers everything. Max is one of the creator of academind, probably best known for his Udemy courses which covers concept more in-depth and providing plenty of information related to programming.

Stats as of today (20/10/2022)

828K subscribers

Joined Dec 4, 2015 67,262,671 views

Playlists can be found here: Academind

4. freeCodeCamp.org

freeCodeCamp.org have lengthy tutorials on various technologies. You’ll find videos on practically anything web development related, from React and JavaScript to Python, Machine Learning, Neural Networks, PenTesting, and more.

Stats as of today (20/10/2022)

6.51M subscribers

Joined Dec 17, 2014 443,968,255 views

Playlists can be found here: Freecodecamp

5. Traversy Media

This is another useful channel you can find on Youtube. Brad Traversy created this channel aimed to provide web development and programming tutorials to everyone for free. You can find latest web technologies from the building blocks of HTML, CSS & JavaScript to frontend frameworks like React and Vue to backend technologies like Node.js, Python and PHP. These videos consists of both short and long videos. The long videos can go up to two hours. In his channel, you’ll find everything related to JavaScript.

Stats as of today (20/10/2022)

1.96M subscribers

Joined Oct 31, 2009 185,480,333 views

Playlists can be found here: TraversyMedia

6. The Net Ninja

Shaun Pelling is a creator of this YouTube channel and you can find videos on various areas includes JavaScript, HTML, Node.js, CSS, Python, Django, Angular, Vue, Git, React, MongoDB, Bootstrap, PHP, WordPress and more. This channel covers basic ReactJS concepts for beginners level to real projects with more advance concepts. You can learn how to develop ReactJs projects with APIs integration such as Firebase backend and Contentful headless CMS.

Stats as of today (20/10/2022)

1.01M subscribers

Joined Apr 9, 2015 128,178,951 views

Playlists can be found here: The Net Ninja

7. Simplilearn

This channel is one of the best channels on YouTube if you want to learn anything related to programming. Simplilearn is an award-winning Bootcamp channel that has wide range of tutorials. The website and channel offer tutorials from experts and cover various topics, including data science, cyber security, and cloud computing, along with brushing up the basics in programming languages and coding.

This channel offers videos that help any learner to begin the journey with the React JS.

Stats as of today (20/10/2022)

2.49M subscribers

Joined Oct 29, 2009 254,531,580 views

Playlists can be found here: Simplilearn

8. Techsith

This channel is making easy to understand tutorials on front-end and mobile technologies using Javascript programming language. The instructor in this channel is a teacher knowing teaching skills and making complex stuffs easy to digest for new learners. The channel provides tips and tricks that help many developers to make their interviews easier.

Stats as of today (20/10/2022)

148K subscribers

Joined Jun 17, 2014 13,242,566 views

Playlists can be found here: Techsith

9. Quentin Watt Tutorials

This channel have videos about learning the basics of Javascript tutorials for beginners.

The tutorials are easy to follow and remember. The React JS playlist has all the basics concepts for any beginner level programmers.

Stats as of today (20/10/2022)

162K subscribers

Joined Aug 20, 2011

20,093,020 views

Playlists can be found here: Quentin Watt Tutorials

10. JavaScript Mastery

If you want improve your development career with project-based coaching, then this is a go-to channel. This channel helps to improve your skills with practical development experience by building or cloning real world applications. You will not regret to spend hours on this channel to learn new techs related stuffs.

Stats as of today (20/10/2022)

427K subscribers

Joined Dec 25, 2018 21,571,276 views

Playlists can be found here: JavaScript Mastery

11. Web Dev Simplified

Web Dev Simplified is all about teaching web development skills and techniques in an efficient and practical manner. If you are just getting started in web development, Web Dev Simplified has all the tools you need to learn the newest and most popular technologies to convert you from a no stack to full stack developer. Web Dev Simplified also deep dives into advanced topics using the latest best practices for you seasoned web developers.

Stats as of today (20/10/2022)

1.09M subscribers

Joined May 24, 2018 80,446,471 views

Playlists can be found here: Web Dev Simplified

12. Sonny Sangha PAPA React

My current favorite channel for ReactJs. I simply love the way teaches complex topics such as state management and Typescript. He build clones which helps to learn new things much faster. Sonny will deliver a Full Stack Mastermind coaching call which many describe as ‘Worth more than a University Degree itself. His program, Zero to Full Stack Hero is constantly changing new developers lives.

Stats as of today (20/10/2022)

175K subscribers

Joined Oct 16, 2011 9,359,888 views

Playlists can be found here: Sonny Sangha

Thats it! Hope you find these information useful. Feel free to share more similar channels with us.

Top 6 FREE Web Hosting sites for Developers

Top 6 FREE Web Hosting sites for Developers

In this short article, I will look at the best 6 free web hosting sites for developers options. These are my choices for 2022 to host websites quickly as possible. If you have any other hosting services on your list feel free to share with us.

1. Vercel

Vercel is a platform for static sites and frontend frameworks, built to integrate with your headless content, commerce, or database. Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work. Vercel has rating of 9.3k stars on Github.

Checkout Vercel official website for more details.

2. Netlify

Netlify is a remote-first cloud computing company that offers a development platform. It provides various services including serverless backend services for web applications and dynamic websites. The platform is built on open web standards, making it possible to integrate build tools, web frameworks, APIs, and various web technologies into a unified developer workflow.

Netlify builds, deploys and hosts your front-end. It is one of the fastest method to combine your favorite tools and APIs to build the website sites, stores, and apps for the web. Netlify has 271 repositories available.

Checkout Netlify official website for more details.

3. Heroku

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. It supports several programming languages including Java, PHP, Scala and G. It provides services and tools to build, run, and scale web and mobile applications. Heroku has 842 repositories available on Github.

Checkout Heroku official website for more details.

4. Render

Render is a unified cloud to build and run all your apps and websites with free TLS certificates, global CDN, private networks and auto deploys from Git. It has lightning-fast CDN and provides huge amount of bandwidth. It is the fast method to host all your web apps, static sites, APIs, containers, jobs and databases.

Checkout Render official website for more details.

5. Railway

Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud. It is made for any language, for projects of any size. Railway is the cloud that takes the complexity out of shipping software. It provides huge amount of bandwidth.

Checkout Railway official website for more details.

6. GitHub Pages

You can use GitHub Pages to host a website about yourself, your organization, or your project directly from a repository on GitHub.com. It is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub, optionally runs the files through a build process, and publishes a website.

Checkout GitHub Pages official website for more details.

There you go. One quick note, these service providers also have different paid services, in addition to free services. So if you want to upgrade, then it is highly recommended.

How to Build a Multiselect Dropdown Component Using React-select

React select dropdown tutorial using react-select. (1)

In this tutorial, you will learn how to use react-select library to create a dropdown selection in your React app. Before that, let’s first understand what React-select is and why should you use this library in your React.js project.

React-select

React-select is an easy to use dropdown library create by Jed Watson and few other awesome contributors. It is a powerful library, offers various features such as multi-select, autocomplete and many more. This is a perfect choice for your next Reactjs project, providing numerous dynamic functionalities to the dropdown components including search and filter functionality, animation, easy accessibility and faster loading time.

Features provided by React-select package include:

  • Flexible approach to data with customizable functions.
  • It handle large number of dataset.
  • Simple customization with API support.
  • Controllable state props and modular architecture.
  • Manage component state easily.
  • CSS styling with emotion support. Provide CSS animation support for components.
  • Long-requested features like option groups, portal support, animation, and more

Step 1: Install React and other libraries

Dependencies used for this project.

  • React-Select Library
  • TailwindCSS for CSS and styling (optional- you can use any styling library)

Run the following command to install a brand new React project. You can either use yarn or npm, but for this tutorial, npx is used. This will create a React app for us.

npx create-react-app react-select

Change the directory and get inside to the project folder. You can always clean the project just a little bit. Remove the files you do not required for this project.

cd react-select

Install Tailwind CSS

Install TailwindCSS and its peer dependencies via npm, and then run the init command to generate both tailwind.config.jsand postcss.config.js.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Configure your template paths

Add the paths to all of your template files in your tailwind.config.jsfile.

module.exports = {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

Add the Tailwind directives to your CSS

Add the @tailwinddirectives for each of Tailwind’s layers to your ./src/index.cssfile.

@tailwind base;
@tailwind components;
@tailwind utilities;

Start using Tailwind in your project

Start using Tailwind’s utility classes to style your content and it will reflects the changes you make to the app.

Install React-Select Library

Now, this is important step. We need to install React-select package. For that simply run the following command.

npm i react-select

Once it is installed, you can now import the react-select module any where in our project. For simplicity it is imported in src/App.js file.

Now create a function that will handle our selected value. Name it setHandle and call it on the component. It will change the current value once user click to the dropdown.

import "./App.css";
import React, { useState, Component } from "react";
import Select from "react-select";

const Hotels = [
  { value: 1, label: "Coral Beach Maldives" },
  { value: 2, label: "Ilaa Beach Maldives" },
  { value: 3, label: "Finolhu" },
  { value: 4, label: "Arena" },
  { value: 5, label: "Kaani Beach Hotel" },
];

function App() {
  const [selectedOptions, setSelectedOptions] = useState(null);

  const setHandle = (e) => {
    setSelectedOptions(Array.isArray(e) ? e.map((hotel) => hotel.label) : []);
  };

  return (
    <div className="mx-auto container py-8">
      <h1 className="text-sm">Select Hotels</h1>
      <div className="flex flex-wrap items-center lg:justify-between justify-center">
        <div className=" px-2	">
          <Select options={Hotels} onChange={setHandle} isMulti />
        </div>
        <div>{selectedOptions}</div>
      </div>
    </div>
  );
}

export default App;

An array named Hotels is created, it then pass the hotel list to the dropdown. Hotel names is displayed when a user clicks on the dropdown and select element with the help of the react-select library.

There are many other properties available and common props you may want to specify include:

  • autoFocus – focus the control when it mounts
  • isDisabled – disable the control
  • isMulti – allow the user to select multiple values
  • isSearchable – allow the user to search for matching options
  • name – generate an HTML input with this name, containing the current value
  • onChange – subscribe to change events
  • options – specify the options the user can select from
  • placeholder – change the text displayed when no option is selected

React Multi Select Dropdown

Multi select option is one of the popular properties provided by this library. let us understand how this is used in a React project. It is actually very easy, simply you need to add isMulti prop to select various value in a select dropdown.

<Select options={Hotels} onChange={selHandle} isMulti />

Thats all for now! You can find code for this tutorial in this GitHub repo

How to Add Tailwind CSS to Your Reactjs Project

Tailwind CSS to ReactJS project

Tailwind CSS is a utility-first CSS framework which is used to make your website more responsive and beautiful. It is well known modern CSS frameworks which helps to speed up the development and styling process significantly. If you’re new to Tailwind CSS please follow the official documentation of Tailwind CSS and find a good starting point at the project’s homepage at TailwindCSS.

Setting up your React project with Tailwind CSS is so simple and comprises only very few steps. In this tutorial you will learn step-by-step approach of installing Tailwind CSS into your React project and get started using Tailwind’s CSS classes for styling.

Step 1: Creating Your React Project

Creating your new React.js project is the very first step. The easiest way to create a new project is to use the create-react-app script on the command line.

npx create-react-app react-app-with-tailwind

Now, cd into the working directory.

cd react-app-with-tailwind

If everything goes well, you should be able to see your react project on the web browser when you run the following command.  

npm run start

Step 2: Install Tailwind CSS

Now install tailwindcss and its peer dependencies via npm, and then run the init command to generate both tailwind.config.js and postcss.config.js.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Tailwind will create two files. You need to make small changes so it will works well for our Reactjs project.

  • tailwind.config.js
  • postcss.config.js

Step 4: Configuring Template Files

You need to specify the path to our Reactjs project files by adding the following configuration setting inside tailwind.config.js. Make sure to add the paths to all of your template files in your tailwind.config.js file.

module.exports = {
   content: [
     "./src/**/*.{js,jsx,ts,tsx}",
   ],
   theme: {
     extend: {},
   },
   plugins: [],
 }

Step 5: Add the Tailwind directives to your CSS

Now add the @tailwinddirectives for each of Tailwind’s layers to your ./src/index.css file.

@tailwind base;
@tailwind components;
@tailwind utilities;

That’s all. You’re good to go! Let’s make use of Tailwind’s CSS classes within our main React component in App.js.

Step 6: Use Tailwind CSS In Your React App

Add the following code to App.js. Start the development web server by using the following command. Now you should be able to see the following result in the browser.

<div className="container mx-auto bg-gray-200 rounded-xl shadow border p-8 m-10">
      <p className="text-3xl text-gray-700 font-bold mb-5">
        Welcome!
      </p>
      <p className="text-gray-500 text-lg">
        React and Tailwind CSS in action
      </p>
    </div>
npm run start

You can find code for this tutorial in this GitHub repo

Best Free VS Code Themes 2022🤩

Best Free VS Code Themes 2022

It is already halfway through 2022 and if you are still looking for any VSCode themes, then here is the list of some of the most popular VS Code themes for 2022 so far.

List of the top 5 VSCode themes – My choice:

  1. Atom One Dark Theme
  2. GitHub Theme
  3. Night Owl Theme
  4. JellyFish Theme
  5. Sublime Material Theme

Atom One Dark Theme

One of the best dark theme port in the marketplace. Atom’s iconic One Dark theme for Visual Studio Code is so popular among developers who loves dark mode.

It has visually pleasing styles and well-blended color schemes, therefore it is considered as one of the most used themes, nearly 3.3 million download in the market place as of today.

Here are some of the stats:

  • No. of Installs:  3,279,542 installs
  • Rating:  4.81/5 (102)
  • Current version: v2.2.3 | 1/4/2021| Free

GitHub Theme

It is popular theme for developers who prefer GitHub’s classic themes. It comes with various new styles, simply you need to select any available theme during installation process. You can choose one of these themes.

  • GitHub Light Default
  • GitHub Light High Contrast ✨ new ✨
  • GitHub Light Colorblind ✨ new ✨
  • GitHub Dark Default
  • GitHub Dark High Contrast
  • GitHub Dark Colorblind ✨ new ✨
  • GitHub Dark Dimmed

There are also two older themes. Note: They might not get updated frequently and are kept for legacy reasons:

  • GitHub Light (legacy)
  • GitHub Dark (legacy)

Here are some of the stats:

  • No. of Installs:  4,349,035 installs
  • Rating: – (120)
  • Current version: v6.0.0 | 2/11/2022 | Free

Night Owl Theme

This theme is fine-tuned for those of us who really like to code late at night. It comes with both dark (Night Owl) and light theme (Light Owl). The color choices, background, and styling are perfectly suitable for developers who are having difficulties in low-light circumstances. ✨

Night Owl

Light Owl

Here are some of the stats:

  • No. of Installs:  1,463,301 installs
  • Rating: – (119)
  • Current version: v2.0.1 | 7/4/2021 | Free

JellyFish Theme

It is also a beautiful theme. The font (Hermit) and colors used by the theme is easy on the eyes. The colors used by this theme for highlighting code are Aqua Blue, Purple, Dark Yellow, and Pinkish-Red.

Here are some of the stats:

  • No. of Installs: 75,788 installs
  • Rating: – (5)
  • Current version: v0.0.4 | 2/8/2022 | Free

Sublime Material Theme

This is simply a port to align the style of the theme with the default VSCode chrome that cannot be changed atm. It has both dark and light theme options, however it was last update long time ago, in 2016.

Dark Theme

Light Theme

Here are some of the stats:

  • No. of Installs: 568,813 installs
  • Rating: – (25)
  • Current version: v1.0.1 | 11/27/2016 | Free

There are lots of amazing themes in the marketplace and these are just few. Must have themes at least in my opinion. Maybe you have a better choice and if you have any let us know your favorite theme that make you more productive.

If you want to know about best VSCode extensions for 2022 then please read this article.

Top 11 Best VS Code Extensions you Need in 2022!