Tuesday 26 September 2023

HOW TO MAKE CALCULATOR :

OUTPUT:


CODE:

 <!DOCTYPE html>

<html>
    <head>
        <title>abc</title>
        <style>
            h1{
                font-size: 70px;
                font-style: initial;
                background:linear-gradient(seagreen, darksalmon,lightgrey);
               -webkit-background-clip: text;
                color: transparent;
            }
            div{
                border: 3px solid rgba(173, 29, 29, 0.397);
                background-color: darksalmon;
                width: 200px;
                border-top-right-radius: 20px;
                border-bottom-left-radius: 20px;
            }
            button{
                  border: 2px solid black;
                  border-top-right-radius: 10px;
                  background-color: rgba(0, 139, 139, 0.438);
                  font-size: large;
            }
        </style>
    </head>
    <body>
        <center><h1>CALCULATOR</h1></center>
        <br><br>
        <center><div>
        <input type="text" id="m"><br><br>
        <button onclick="num(7)">7</button>
        <button onclick="num(8)">8</button>
        <button onclick="num(9)">9</button>
        <button onclick="num('*')">*</button><br><br>
        <button onclick="num(4)" >4</button>
        <button onclick="num(5)">5</button>
        <button onclick="num(6)">6</button>
        <button onclick="num('-')" >-</button><br><br>
        <button onclick="num(1)" >1</button>
        <button onclick="num(2)" >2</button>
        <button onclick="num(3)" >3</button>
        <button onclick="num('+')">+</button><br><br>
        <button>()</button>
        <button onclick="num(0)" >0</button>
        <button onclick="num('.')" >.</button>
        <button onclick="eql()">=</button><br><br>
        <button onclick="clr()">clear</button>
        </div></center>
    </body>
    <script>
        function num(val)
        {
            document.getElementById("m").value+=val
        }
        function eql()
        {
            var cal=document.getElementById("m").value
            var c=eval(cal)
            document.getElementById("m").value=c
        }
        function clr()
        {
            document.getElementById("m").value=""
        }
    </script>
</html>


Sunday 17 September 2023

java script:



JavaScript is a scripting or programming language that allows you to implement complex features on web pages. displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc.

way to write java script in html:

we use the tag of <script></script>

Friday 8 September 2023

EVOLUTION OF TECHNOLOGY:


The evolution of technology can be traced back to the early human civilizations when tools made of stone were used for hunting and gathering. Over time, technological advancements have been made in several fields including agriculture, transportation, communication, healthcare, and entertainment.

Our evolution has been deeply linked with the evolution of technology. From discovering the technological potential of fire more than 250,000 years ago to developing watermills as a power source in the medieval ages, technology today is so futuristic as it would have been unimaginable just a few decades back.




ADVANTAGES AND DISADVANTAGES OF TECHNOLOGY:


ADVANTAGES:

  • Quick access to information.
  • Facilitated learning.
  • Breaking the distance barrier.
  • Simplifying tasks.
  • Providing entertainment.
  • Increased productivity and efficiency.
  • Increased life expectancy.
  • Creating new job

DISADVANTAGES:

  1. Technology Causes Lack of Interest in Studying.
  2. Technology Causes Environmental Problems.
  3. Technology Reduces the Creativity of People.
  4. Technology Causes Health Problems in People.
  5. Security Issues in Using the Technology.
  6. Modern Technology Waste our Time.

TECHNOLOGY:


What is technology?

Technology is the study of scientific knowledge in order to create tools and processes that may be used to change the world by increasing efficiency in nearly every aspect of our lives. Technology has made our lives easier, and all human beings have become entirely dependent on technology.

Importance of technology in our lives:

Technology lends immense support in automating various tasks, setting up reminders, communicating efficiently, paying bills at the click of a button, and shopping for the simplest things, such as groceries to investing in valuable assets right in the comfort of our homes.




LABELS:


WHAT ARE LABELS IN BLOGGERS?

Labels are the thing in our blogger which help us to place the things that are relevant in one heading and skipping the part  which is not related to our interest.


Here we can give it any heading . We can also show labels in our website by going to layout option and adding labels gadget.


Labels shown on our website




BLOGGER:


HOW TO ADD PAGES IN OUR BLOGGER?

To add pages in our blogger we go to the the LAYOUT option, choose the place where we want to see our pages displayed on our website and add add gadgets in this way we can add pages to our website.

 


picture shows pages displayed on 
webpage

HOW TO MAKE CALCULATOR : OUTPUT: CODE:  <! DOCTYPE html > < html >     < head >         < title > abc </ title &...