Posts

Showing posts from September, 2023

Electric Current

  Electric current is a fundamental concept in physics and electrical engineering. Here are some key notes about electric current: Definition : Electric current is the flow of electric charge through a conductor. It is measured in amperes (A) and is represented by the symbol "I." Charge Carriers : In most conductors, electric current is carried by electrons. Electrons have a negative charge and move from the negatively charged terminal (cathode) to the positively charged terminal (anode) in a circuit. Direction of Current : Conventional current flow is defined as the direction of positive charge flow, which is opposite to the actual electron flow. So, in most circuits, electric current is considered to flow from the positive terminal to the negative terminal. Types of Current : There are two primary types of electric current: Direct Current (DC) : In DC, the flow of electric charge is in one direction, and it does not change with time. Batteries and solar cells are common sou

Html code to rum 2 star horizontally and vertically

 

Multiple moving stars

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <style>         body {             margin: 0;             overflow: hidden;         }         .container {             position: relative;             width: 100%;             height: 100vh;             background-color: black;         }         .star {             position: absolute;             width: 10px;             height: 10px;             background-color: red;             border-radius: 50%;             animation: moveStar 5s linear infinite;         }         @keyframes moveStar {             0% {                 transform: translateY(0) translateX(0);             }             100% {                 transform: translateY(-100vh) translateX(100vw);             }         }     </style> </head> <body>     <div class="container"&g

Html code to draw a Moving star

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <style>         @keyframes moveStar {             0% {                 transform: translateX(0);             }             100% {                 transform: translateX(100vw);             }         }         .star {             width: 50px;             height: 50px;             background-color: red;             clip-path: polygon(50% 0%, 61.8% 38.2%, 100% 50%, 61.8% 61.8%, 50% 100%, 38.2% 61.8%, 0% 50%, 38.2% 38.2%);             position: absolute;             animation: moveStar 4s linear infinite;         }         body {             margin: 0;             overflow: hidden;         }     </style> </head> <body>     <div class="star"></div> </body> </htm

Html code to draw a girl

background-color: #00f; width: 80px; height: 200px; position: absolute; top: 150px; left: 60px; } .hair { background-color: #000; width: 100px; height: 40px; position: absolute; top: 30px; left: 50px; }

Html program to print a star

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <style>         .star {             width: 0;             height: 0;             border-left: 50px solid transparent;             border-right: 50px solid transparent;             border-bottom: 100px solid gold;             position: relative;             margin: 50px 0;         }         .star:before {             content: '';             width: 0;             height: 0;             border-left: 50px solid transparent;             border-right: 50px solid transparent;             border-top: 100px solid gold;             position: absolute;             top: 30px;             left: -50px;         }     </style> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">

Popular posts from this blog

Diagonal Relationship between Beryllium and Aluminium || Relation between Beryllium and Aluminium

KVS CBSE Worksheets CHAPTER 1 Electric Charges and Fields Class 12

Kinematics Important Questions Of Physics

QUANTUM NUMBERS (Principal, Azimuthal, Magnetic and Spin)

NCERT Chemical Reactions and Equations Solutions || NCERT Solution Class 10 Science Chapter 1 || Chemistry || Science ||