Why JavaScript and css is an important factor in designing a web page

As we know that HTML is a is the best for the all programming languages that were used in web pages but HTML can produce only static web pages are they give more important to the contents it is important to have CSS for cascading style sheet code in HTML to give better look to the website to make  attractive for the visitors .The website using CSS give more importance to the webpage design that is how the webpage  actually looks it can provide many dynamic contents to the website can make your website boards
we know that the CSS bring dynamic content to the website but we can have internal working of the website .We can only just see that particular website we can insert values and attached to the webpage using forms but the ended that can be processor for different purposes is being done by using JavaScript .The JavaScript
Can access these values by using different methods like getting the elements by ID ,name etc. JavaScript can also produce cookies to the website by:
Document.cookie="name=value";
a simple example for a facebook login page as in our own Idea code is described below using JavaScript






<Script>
function login ()
{
var a,b,username=jinoy,password=@cspsyco;
a=document.getElementById("name").value;
b=document.getElementById("pass").value;
if(usermame==name)
{
if(pass=password)
{
<a href="http://cspsyco.blogspot.com">
}
else
{
document.write("password is incorrect");
}
}
else
{
document.write("username is incorrect");
}
}
</script>

Conclusion

Thus we can conclude that JavaScript is more important than any other languages as they were needed to work even a simple functional website .The database is also used to save entered data of the user, more about database will be discussed in for the class.

Comments

Popular posts from this blog

Codeigniter ! Simple But Powerful

Node.js Cheat Sheet

Enhancing Supply Chain Security and Cloud-Native Development with Chainguard