React

Creating a React JS website(Part 6)

Posted on:

Now in this post we will work on Blog page to show the blogs by using API. To work on blog page, we will first create a posts component in components directory. Image shown below shows the posts components. Now this will make our blog page will look like shown […]

React

Creating a React JS website(Part 5)

Posted on:

Adding error page to the website. Now to add the error page we will first create the new page in pages directory named as ErrorPage.jsx ErrorPage.jsx Now to get this page working we need to update the App.jsx as shown in below screen. Now to see this page works or […]

React

Creating a React JS website(Part 5)

Posted on:

In this tutorial we will see how we can add active link css functionality to header page, so that when page is active the current link will have different colour. Now to do this we need to change Link to NavLink in Header.jsx file like shown in below screen. We […]

React

Creating a React JS website(Part 4)

Posted on:

In this tutorial we will install Router, and giving links to pages. Now to install the react router we need to run the following command. Once react-router-dom is installed we need to wrap the App component with <BrowserRouter>, as shown in below screen. main.jsx Now we need to change the […]

React

Creating a React JS website(Part 3)

Posted on:

Now in this part we will create Header, Footer section and Layout. In this tutorial, we will use this Wind UI Library to speed up the development. Reason behind using this library is simple it is the best out there as no configuration is needed we can just copy and […]

React

Creating a React JS website(Part 1)

Posted on:

Let’s get started building a website with React Js. Earlier we used to create-react-app i.e. cra template to create React Js project. Now we have other way i.e. using Vite Js, so in this example we will create our website using Vite Js. We will not get into more technical […]