rahulxf.devNested Route and Index Route in ReactJSImplementation : import { BrowserRouter,Routes,Route } from "react-router-dom" And we have to install that react router for installation we have to write the script - npm i react-router-dom 1) Simple Route import { BrowserRouter,Routes,Route } from "...Jan 10, 2024·2 min read
rahulxf.devCreating 2D array by different ways?// 1) Simple One to Create 2D array int arr[3][2]={{1,2}, {3,4}, {5,6}}; for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { cout<<arr[i][j]<<" "; } cout<<endl; } // ...Sep 13, 2023·2 min read
rahulxf.devLet's Discuss about Pug?Pug is engine template for express & is used to render the dynamic files Pug is come with built in function in node js and if we got any problem in rendering then you have to download pug (npm i pug) Tell express which template engine we are gonna us...Sep 12, 2023·1 min read