
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
1K+ Views
Following is the code to create a navigation bar with equal-width navigation links.−Example Live Demo Document body{ margin:0px; margin-top:60px; padding: 0px; } *, *::before, *::after{ box-sizing: border-box; } nav{ position: fixed; top: 0; width: 100%; background-color: rgb(39, 39, ... Read More

AmitDiwan
410 Views
Following is the code to produce a navigation bar with a centered link/logo −Example Live Demo Document body{ margin:0px; margin-top:60px; padding: 0px; } nav{ position: fixed; top:0; width: 100%; background-color: rgb(251, 255, 196); overflow: auto; height: auto; ... Read More

AmitDiwan
711 Views
Following is the code to produce a horizontal scrollable menu with CSS −Example Live Demo Document body{ margin:0px; margin-top:10px; padding: 0px; } nav{ width: 100%; background-color: rgb(39, 39, 39); overflow: auto; height: auto; white-space: nowrap; } .links { ... Read More

AmitDiwan
386 Views
Following is the code to create hoverable side navigation buttons with CSS.Example Live Demo Document nav a { position: fixed; left: -120px; transition: 0.3s; padding: 10px; width: 140px; text-decoration: none; font-size: 20px; color: black; font-weight: bolder; ... Read More

AmitDiwan
815 Views
Following is the code to create a responsive side navigation menu with CSS −Example Live Demo body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } nav { margin: 0; padding: 0; width: 150px; background-color: #2f77e4; position: fixed; ... Read More

AmitDiwan
819 Views
Following is the code for creating the responsive navigation menu with icons.Example Live Demo Document body{ margin:0px; margin-top:10px; padding: 0px; } nav{ width: 100%; background-color: rgb(39, 39, 39); overflow: auto; height: auto; } .links { display: inline-block; ... Read More

AmitDiwan
1K+ Views
Following is the code to create a responsive navigation menu with a login form inside of it −Example Live Demo Document body { margin: 0px; margin-top: 10px; padding: 0px; } nav { width: 100%; background-color: rgb(39, 39, 39); overflow: auto; ... Read More

AmitDiwan
221 Views
To perform multiple write operations, use bulkWrite(). Let us create an array list values. Following is the query −> const arrayList = [ ... {"Value1":100, "Value2":200, "Name": "John"}, ... {"Value1":100, "Value2":200, "Name": "Bob"} ... ]; > let op1 = []; > arrayList.forEach(({ Value1, Value2, Name }) => { ... Read More

AmitDiwan
2K+ Views
For this, use $lookup. This performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.Let us first create a collection with documents −> db.demo395.insertOne({Name:"Chris"}); { "acknowledged" : true, "insertedId" : ObjectId("5e5e782317aa3ef9ab8ab207") } > db.demo395.insertOne({Name:"David"}); { ... Read More