Image
The Compelling Reasons to Learn Web Design In an era dominated by the digital realm, the ability to craft visually appealing and functional websites is a valuable skill that transcends industries. Learning web design is not just about creating aesthetically pleasing pages; it opens doors to a world of creativity and opportunities. In this blog, we'll delve into the compelling reasons why aspiring individuals should consider learning web design and how it can pave the way for personal and professional growth. Express Your Creativity: Web design is an art form that allows you to express your creativity in a digital space. From choosing color palettes to selecting fonts and arranging elements on a page, web designers have the power to create visually stunning and unique experiences. Learning web design provides a canvas for self-expression, enabling you to bring your ideas to life and leave a lasting impression on users. Meet the Demands of the Digital Age: The digital landscape is

Addition two number with function in javascript

        Addition two number taking input by user in javascript

1.we have know that what is JavaScript?
2.JavaScript is a client server language JavaScript use for formatted design and backend design JavaScript is a lightweight language for
make a web program we can create JavaScript.
 JavaScript is a independent language.
3.write code for addition
4.all code write in <script>  all code write            </script>
5.<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript">
function plus3() {
var a =  Number(document.getElementById("plus").value);
var b =   Number(document.getElementById("plus2").value);
var c = a + b ;
document.write(c);
}
</script>
<style type="text/css"></style>
</head>
<body>
<form >

<input type="number" name="" id="plus">
<input type="number" name="" id="plus2">
<input type="submit" value="add" onclick= "plus3()">
</form>
</body>
</html> 


 output:-


Comments

Popular posts from this blog

what is html

Addition two number in javascript