wd-ca
v1.0.1
Published
A collection of Web Design lab programs covering HTML, CSS, JavaScript, XML Schema, and MySQL integration.
Maintainers
Readme
wd-ca
A collection of Web Design lab programs covering HTML, CSS, JavaScript, XML Schema, and MySQL integration.
Installation
npm install wd-caUsage
List all programs
const wd = require('wd-ca');
wd.programs.forEach(p => {
console.log(`[${p.category}] ${p.file} - ${p.name}`);
});Read a specific program file
const wd = require('wd-ca');
const content = wd.getProgramContent('Calculator.html');
console.log(content);Get absolute path to any program
const wd = require('wd-ca');
const filePath = wd.getProgramPath('Books/books.xml');
console.log(filePath);Copy files to your project
const wd = require('wd-ca');
// Copy all files including subfolders
wd.copyAllTo('./my-web-programs');
// Copy a single file
wd.copyTo('Calculator.html', './my-web-programs');Included Programs & Files
| File | Category | Description |
|---|---|---|
| 20_Tags.html | HTML | Basic HTML Tags Demonstration |
| AI_Generator.html | HTML/CSS/JS | AI Generator Interface |
| Book_Shop.html | HTML/CSS | Book Shop Web Page |
| Calculator.html | HTML/CSS/JS | Calculator Application |
| Card_Validator.js | JavaScript | Credit Card Validator |
| Clock.html | HTML/CSS/JS | Digital Clock |
| Form_Images_IFrame.html | HTML | Form, Images, and Iframe Example |
| Multiplication_Table.html | HTML/JS | Multiplication Table Generator |
| MySQL.js | Node/DB | MySQL Database Connection |
| Student_Mark_Sheet.html | HTML/CSS/JS | Student Mark Sheet |
| Books/books.xml | XML | Books XML Data |
| Books/books.xsd | XML | Books XML Schema Definition |
| Books/display.html | XML/HTML | Books XML Display |
| gurukul/gurukul.xml | XML | Gurukul XML Data |
| gurukul/gurukul.xsd | XML | Gurukul XML Schema Definition |
| gurukul/display.js | XML/JS | Gurukul XML Parser Script |
| gurukul/index.html | XML/HTML | Gurukul Web Interface |
| Javascript_Embedding/index.html | HTML/JS | JavaScript Embedding Demo |
| Javascript_Embedding/script.js | JavaScript | External JavaScript Script |
License
MIT
