JavaScript

So we’ve tackled <html> done </html>. We’ve tackled style sheets <css> done </css>. Now we’re on to bigger things .js

Designed by Brendan Eich and developed by Netscape Communications Corporation, JavaScript was released in 2009. JavaScript is a client-side scripting language that can be used to make a web page more interactive, dynamic and enhance user interfaces. Browsers have limited functionality in terms of being able to produce text, tables, images and frames. What JavaScript does is that it manipulates elements of a web page or specific browser window functions to allow for a more interactive site. Adding JavaScript can enhance the look of your website and works across desktop, online and mobile platforms. JavaScript is not to be confused with Java, but it is influenced by it by copying naming conventions from Java.

With JavaScript you could create a checking form for valid entries or swop styles for an element or an entire site. You could even programme the browser to remember an online user’s details for the next time he/she uses the web. It’s a fully independent programming language embedded in the HTML page as simple programming statements combined with HTML tags.

The best way to get your head into JavaScript is to grasp the basics and then scout around the web for other web designer’s scripts. JavaScript is a whole new, special sort of syntax very different from the CSS and HTML coding we’ve been learning so far.

This is a basic JavaScript statement:

<html>

<head><title>My Page</title></head>

<body>

                                    <script language=”JavaScript”>

                                    document.write(‘This is my first JavaScript                   Page’);

                                    </script>

</body>

</html>

For more examples head to:                  http://www.w3schools.com/js/js_examples.as

So ultimately what can I achieve by adding JavaScript to my page? Hmmmm, well: statements, alert boxes, pop ups, timing and fading features on texts etc.

Advertisements

About nicobaleng

My paradoxical love for the web is feeling immense freedom while confined to a seated position behind a desk. This is what the world wide web has to offer. Learning about the latest technological toys or playing around with programs sounds like nerds-play, but once you start exploring, the pc monitor in front of you becomes less and less intimidating. Tracked and documented I will share the journey of an average Joe like me, moving up toward achieving a black belt in web design! KAPOW!

Posted on October 3, 2011, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: