Create own module in node js

We can write anything as you want in my_module.js file. var http = require('http'); var dt = require('./my_module'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.write("The date and time are…

0 Comments

Express js installation

Express.js tutorial provides basic and advanced concepts of Express.js. Our Express.js tutorial is designed for beginners and professionals both. Express.js is a web framework for Node.js. It is a fast,…

0 Comments

Dropdown menu

<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="container mt-3"> <h2>Dropdowns</h2> <p>The .dropdown class is used to…

0 Comments

Session Create in laravel

Friends, before telling you what is a session in Laravel, I have to tell you that what actually is a session is that we store some data temporarily inside our…

0 Comments

php – ajax data insert

This tutorial is posted for beginners as well as experienced developers. It will help you insert form data into the MySQL Database without page refresh. <body> <!– form start –>…

0 Comments