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 10740 Articles
AmitDiwan
688 Views
To create a modal box with CSS and JavaScript, the code is as follows −Example Live Demo body { font-family: Arial, Helvetica, sans-serif; } .modal { text-align: center; display: none; position: fixed; ... Read More
AmitDiwan
606 Views
To create a full screen video background with CSS, the code is as follows −Example Live Demo * { box-sizing: border-box; } body { margin: 0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; ... Read More
AmitDiwan
494 Views
To create a responsive table with CSS, the code is as follows −Example Live Demo table { border-collapse: collapse; border-spacing: 0; width: 100%; border: 1px solid #ddd; } th, td { ... Read More
AmitDiwan
1K+ Views
To create a responsive table with CSS, the code is as follows −Example Live Demo body{ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } div{ overflow-x: auto; } table { border-collapse: collapse; ... Read More
AmitDiwan
1K+ Views
To sort an HTML list using JavaScript, the code is as follows −Example Live Demo Sorting list example Click to sort Giraffe Camel Dog Lion Cheetah Cat document .getElementsByTagName("button")[0] .addEventListener("click", sortList); function sortList() { var list, i, sortFlag, LiEle, sorted; ... Read More
AmitDiwan
1K+ Views
To create a filter table with JavaScript, the code is as follows −Example Live Demo * { box-sizing: border-box; } .searchField { width: 100%; font-size: 16px; padding: 12px 20px 12px 40px; ... Read More
AmitDiwan
558 Views
To create a filter list with JavaScript, the code is as follows −Example Live Demo * { box-sizing: border-box; } .searchInput { width: 100%; font-size: 16px; padding: 12px 20px 12px 40px; ... Read More
AmitDiwan
2K+ Views
To add form validation for empty input fields with JavaScript, the code is as follows −Example Live Demo JavaScript empty input field validation example Name: Submit the form empty to see the validation performed function emptyValidation() { var formField = ... Read More
AmitDiwan
186 Views
To turn off spell check for form elements, the code is as follows −Example Live Demo Disabling Spellcheck Example Your Name: About Yourself Type wrong spelling in the above input field to see spellcheck in action OutputThe above code will produce the following ... Read More
AmitDiwan
380 Views
To disable autocomplete of an input field, the code is as follows −Example Live Demo input{ font-size: 18px; padding: 10px; margin: 10px; border:1px solid grey; } Autocomplete on/off Example First ... Read More