Posts

Showing posts from September, 2025

chat application

 VC: chat.html <!DOCTYPE html> <html ng-app="chatApp"> <head>   <meta charset="UTF-8">   <title>AngularJS Chat</title>   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>   <style>     body {       font-family: 'Segoe UI', sans-serif;       background: #f4f6f8;       margin: 0;       padding: 20px;       display: flex;       justify-content: center;     }     .container {       width: 400px;       background: #fff;       border-radius: 8px;       box-shadow: 0 4px 12px rgba(0,0,0,0.1);       padding: 20px;     }     h2 {       margin-top: 0;       text-align: center;   ...

Sketch

VC: comet.html  <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>Comet Trail</title>     <style>       body { margin: 0; overflow: hidden; background: black; }       canvas { display: block; }     </style>   </head>   <body>     <script src="https://cdnjs.cloudflare.com/ajax/libs/sketch.js/1.0/sketch.min.js"></script>     <script>       Sketch.create({         autoclear: false,         setup() {           this.globalCompositeOperation = 'lighter';         },         update() {           this.fillStyle = 'rgba(0,0,0,0.05)';           this.fillRect(0, 0, this.width, this.height);         },  ...

NetBanking

FILENAME: NetBankingLoginPortal   Models/User.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace NetBankingLoginPortal.Models {         public class User         {             public string Username { get; set; }             public string Password { get; set; }             public string Role { get; set; }         }     } 2. Models/LoginModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace NetBankingLoginPortal.Models {     public class LoginModel     {         public string Username { get; set; }         public string Password { get; set; }     } } 3. Controllers/LoginCo...

health reference

 VC:index.html <!DOCTYPE html>  <html ng-app="app" ng-controller="c">  <head>  <meta charset="utf-8">  <title>Health Reference</title>  <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.3/angular.min.js"></script>  <style>  body{font-family:Arial,sans-serif;background:#f4f6f8;margin:0;padding:40px;display:flex;justify-content:center}  .container{background:#fff;padding:24px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.1);max-width:600px;width:100%}  h2{font-size:28px;margin:0 0 20px;text-align:center;color:#222}  .tabs{display:flex;gap:10px;margin-bottom:20px}  .tabs button{flex:1;padding:12px;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:bold}  .card{border:1px solid #ddd;padding:14px;border-radius:6px;margin-bottom:10px;background:#fafafa;font-size:16px}  .labs{color:#16a34a}.symptoms{color:#2563eb}  </sty...

CompassClock

 TERMINAL:npx create-react-app compassclock App.js import React, { useState, useEffect } from "react"; import "./App.css"; const CompassClock = () => {   const [time, setTime] = useState(new Date());   useEffect(() => {     const timer = setInterval(() => setTime(new Date()), 1000);     return () => clearInterval(timer);   }, []);   const hours = time.getHours() % 12;   const minutes = time.getMinutes();   const seconds = time.getSeconds();   return (     <div className="clock-container">       <h2>Compass Clock</h2>       <div className="time-display">{time.toLocaleTimeString()}</div>       <div className="date-display">{time.toDateString()}</div>       <div className="clock">         {/* Numbers */}         <div className="number num12">12</div> ...