Business Websites

Learn the Lingo – What is JavaScript?

By | 02.06.13

Learn the Lingo – What is JavaScript?

JavaScriptLearning more about how the web works, and how it can benefit your business can help push your business further. This post will briefly discuss what JavaScript is and how it’s used.

What is JavaScript

JavaScript is a lightweight scripting language that can be inserted into HTML pages. It is used to make websites more dynamic and interactive. JavaScript can be used for alerts, form validation, replacing a CSS class, and much more. JavaScript is not to be confused with Java, an object oriented programming language that is very different in concept and design. Let’s explain what that means with an example.

<button type="button" onclick="alert('Welcome to SuperMedia!')">Click Me!</button>

An external JavaScript reference looks like this:

<script type="text/javascript" src="my-file.js"></script>

JavaScript is rendered client-side, meaning it runs when the browser hits the page and HTML is rendered. JS is built into all major web browsers, which include FireFox, Safari, and Internet Explorer. When a user visits your site and they are using a browser that supports JS, and have JS enabled, then it will render your script successfully. These web browsers have JavaScript enabled by default, however, the user has the ability to disable this feature.

Learning the Lingo

JavaScript – JS
Cascading Style Sheets – CSS
Hypertext Markup Language – HTML

(Visited 279 times, 1 visits today)
Comments

Like what you see?
Get more free content.

Next Up In Business Websites

3 Easy Ways to Enhance the Digital Side of Your Business

Business Websites

3 Easy Ways to Enhance the Digital Side of Your Business

Now that you know why it’s important for brick-and-mortar businesses to think like an in-person/online hybrid, let’s dig into...

Read More

Scuba School Tries Text Marketing to Kick Off New Season

Business Websites

Scuba School Tries Text Marketing to Kick Off New Season

Not only was Haigh Quarry prepping for a new season of scuba diving instruction, but, like everyone else, they...

Read More

Is Your Website Accessible to All Visitors?

Business Websites

Is Your Website Accessible to All Visitors?

As more of our daily activity moves online, requests for websites that comply with the Americans with Disabilities Act...

Read More