Skip to main content

Posts

Showing posts from January, 2023

Digital Clock JAVA script

const hourEl = document.getElementById("hour") const minuteEl = document.getElementById("minutes") const secondEl = document.getElementById("seconds") const ampmEl = document.getElementById("ampm") function updateClock(){     let h = new Date().getHours()     let m = new Date().getMinutes()     let s = new Date().getSeconds()     let ampm = "AMPM"     if(h > 12){         h = h- 12         ampm = "PM"     }     h = h<10 ? "0" + h : h;     m = m<10 ? "0" + m : m;     s = s<10 ? "0" + s : s;     hourEl.innerText = h;     minuteEl.innerText = m;     secondEl.innerText = s;     ampmEl, (innerText = ampm);     setTimeout(()=> {         updateClock()     }, 1000) } updateClock();

Digital clock CSS script

body{     margin: 0;     font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;     display: flex;     flex-direction: column;     align-items: center;     height: 100vh;     justify-content: center;     background: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1332&amp;q=80");     background-size: cover;     overflow: hidden; } h2{     text-transform: uppercase;     letter-spacing: 4px;     font-size: 14px;     text-align: center;     color: white; } .clock{     display: flex; } .clock div{     margin: 5px;     position: relative; } .clock span{     width: 100px;     height: 80px;     background: sandybrown;     opacity: 8;     color: white;     display: flex;     justify-content: center;     align-items: center;     font-size: 50px;     text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .clock .text{     height: 30

Digital Clock HTML Script

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Digital Clock</title>     <link rel="stylesheet" href="style.css"> </head> <body>     <h2>Digital Clock</h2>     <div class="clock">     <div>         <span id="hour">00</span>         <span class="text">Hours</span>     </div>     <div>         <span id="minutes">00</span>         <span class="text">minutes</span>     </div>     <div>         <span id="seconds">00</span>         <span class="text">seconds</span>     </div>     <div>    

New Technology Blockchain

 Blockchain Blockchain:  1. A decentralized, distributed ledger that records transactions across a network of computers.              2.  Each block in the chain contains a record of multiple transactions and is linked to the previous block using cryptography.         3.  The decentralized nature of a blockchain makes it secure, as no single entity has control over the data and all participants in the network have a copy of the ledger.    4. This allows for the secure and transparent transfer of digital assets, such as cryptocurrencies, without the need for intermediaries.         5. Blockchains can also be used for non-financial applications, such as supply chain management, voting systems, and record-keeping. Smart Contract: A self-executing contract with the terms of the agreement between buyer and seller being directly written into lines of code. The code and the agreements contained within it exist on a blockchain network, allowing for secure and transparent execution without inte

New Technology Virtual and Augmented Reality

 New Technology Virtual and Augmented Reality Virtual Reality (VR): A computer-generated simulation of a 3D environment that can be interacted with in a seemingly real way using special equipment, such as a headset with sensors. It creates an immersive experience that replaces the real world with a virtual one. Augmented Reality (AR): A technology that superimposes digital information on the real world, often through a camera view on a device such as a smartphone. AR enhances the real world with virtual elements, rather than replacing it entirely. Virtual Reality (VR): A computer-generated simulation of a 3D environment that can be interacted with in a seemingly real way using special equipment, such as a headset with sensors. It creates an immersive experience that replaces the real world with a virtual one. Examples of VR applications: Gaming: VR games allow players to immerse themselves in a virtual world and interact with objects and characters using hand-held controllers or body m

New Technology Internet of Things (IoT)

Internet of Things (IoT)   The Internet of Things (IoT) refers to the interconnected network of physical devices, vehicles, buildings, and other objects that are embedded with sensors, software, and network connectivity, allowing them to collect and exchange data. IoT devices can communicate with each other and with other systems over the internet, allowing for the automation of various tasks and the collection of data for analysis and decision-making. Examples of IoT devices include: Smart home devices: smart thermostats, smart lighting, smart security systems, and other connected devices that can be controlled and monitored remotely. Wearables: fitness trackers, smartwatches, and other wearable devices that can collect data on activity and health. Industrial IoT: sensors and connected devices in industrial settings, such as factories and warehouses, that can improve efficiency and monitoring of processes. Agricultural IoT: sensors and connected devices in agricultural settings, s

New Technology 5G

  5G 5G is the fifth generation of mobile network technology that promises to deliver faster speeds, lower latency, and more capacity compared to its predecessor, 4G. 5G networks use a combination of new radio frequencies and technologies, such as millimeter waves and beamforming, to increase the capacity and speed of wireless data transmission. This allows 5G to support a large number of connected devices, providing reliable and fast connectivity for a wide range of applications, including virtual and augmented reality, autonomous vehicles, and the Internet of Things (IoT). 5G also introduces new network architectures, such as network slicing, which enables network operators to create multiple virtual networks within a single physical network to support different types of applications with specific requirements. This allows 5G networks to be more flexible and efficient, and to support a wider range of use cases. The roll-out of 5G networks is underway in many countries, with some netw

New Technology (Artificial Intelligence)

 Top 5 Emerging Technologies to Watch in 2023   Artificial Intelligence : AI continues to evolve at a rapid pace and is becoming increasingly accessible to businesses of all sizes. It is being used for automation, predictive analytics, and decision-making. AI is also starting to be integrated into a wider range of devices and products, including everything from smart home devices to self-driving cars. 5G : 5G networks are set to revolutionize the way we communicate and access the internet. With faster speeds and lower latency, 5G is poised to drive innovation across a wide range of industries, including healthcare, transportation, and entertainment.   Internet of Things (IoT) : The Internet of Things (IoT) is becoming more widespread, with more and more connected devices being added to the market every year. IoT technology enables the collection and analysis of data from these devices, leading to improved efficiency and increased automation. Virtual and Augmented Reality : Virtual and

JAVA FULL NOTES

  JAVA Written By G. Ravi Kumar Sarma where we use java Java is a versatile programming language that can be used in a variety of different contexts and for a wide range of applications. Some common areas where Java is used include: Web development: Java is a popular choice for developing web applications, both on the server side (using technologies such as Java Servlets and JavaServer Faces) and on the client side (using technologies such as Java applets and JavaFX). Enterprise applications: Java is widely used for developing enterprise-level applications, such as business systems and e-commerce platforms. The Java Enterprise Edition (Java EE) provides a set of libraries and components for building such applications. Mobile development: Java is the primary language used for developing Android mobile applications. The Java Micro Edition (Java ME) can be used for developing applications for other mobile platforms as well. Embedded systems: Java can be used for developing applications fo