Modern JavaScript Fundamentals The Basics of JavaScript Programming

  • Laurence Svekis

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

Autoplay:
View next video

Explore how to make web content come to life with dynamic and interactive content!

Learn the basics of writing JavaScript code and get started with web programming. This course is perfect for beginners to establish a foundation for how to write JavaScript code. It’s an ideal course for anyone who wants to go beyond HTML and CSS and make their content come to life online.

JavaScript provides web developers with the ability to make interactive and dynamic content within web pages and web applications. You will learn all the core concepts such as how to apply and use variables as the foundation for coding. You will learn more about functions and how they can be used to run blocks of code. You will also learn how objects and arrays provide the ability to hold more data and use it within your coding. This will be the perfect course for anyone who wants to write JavaScript code or a refresher course for those who need a reintroduction to the basics of writing code. Going through this course will build your basic knowledge and get you ready for more complex web coding with JavaScript.

What You Will Learn

  • Use JavaScript conditional statements

  • Take advantage of data types and strings in JavaScript

  • Write JavaScript loops for repeated code execution

  • Work with advanced JavaScript functions

  • Create JavaScript objects and use the Document Object Model

Who This Video Is For

Developers new to JavaScript, who’d like to learn the basics and get started with JavaScript web programming.

This video shows how to make web content come to life with dynamic and interactive content! Learn the basics of writing JavaScript code and get started with web programming. This course is perfect for beginners to establish a foundation for how to write JavaScript code.

About The Author

Laurence Svekis

Laurence Svekis is an instructor. He has 18+ years’ work experience in web development, providing smart digital solutions online for both small and enterprise-level businesses. An experienced web application developer, he has worked on multiple enterprise-level applications, hundreds of websites and business solutions, and many unique and innovative web applications. His web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP, and MySQL—in short, anything to do with web creation and digital experience. He is passionate about everything to do with web application development and programming to online marketing with a strong focus on social media and SEO.

 

About this video

Author(s)
Laurence Svekis
DOI
https://doi.org/10.1007/978-1-4842-5847-7
Online ISBN
978-1-4842-5847-7
Total duration
2 hr 29 min
Publisher
Apress
Copyright information
© Laurence Svekis 2020

Related content

Video Transcript

[MUSIC PLAYING]

Hi, and welcome to our introduction to JavaScript. In this lesson, we’re going to be covering what JavaScript is and how it works, introducing you to the basics of JavaScript and also giving you a brief history of JavaScript.

It is the most commonly used programming language. It first appeared with Netscape back in September 1995. And it actually has nothing to do with Java, only in– name is where the similarities stop. Alongside HTML and CSS, JavaScript is one of the core technologies of the world wide web. Almost every website has JavaScript. Run JavaScript within your browser. So that means that all you need to render the JavaScript is your browser. So you don’t actually need an internet connection. It’s your browser that’s doing all of the work.

JavaScript now comes standardized across all of the browsers. So it works relatively the same way. So it doesn’t matter which browser you choose.

So JavaScript is script, and what script is– it’s a set of instructions. So just like a script in a movie tells the actors what needs to be done and what actions need to be taken, it’s the same thing with JavaScript, except it tells the browser what needs to happen. It’s a coding language and it’s a way to tell instructions to the browser that the browser is going to understand.

So what does the web look like without JavaScript? Well, you can turn JavaScript off within your browser. And I’m going to show you how to do that so you can get a feel for what JavaScript is doing behind the scenes on your favorite websites.

Open up your web browser, and in this case, I am going to be using Chrome. So you can use any web browser, but within Chrome, I’ll walk you through how you can turn your JavaScript off so you can get a sense for what your websites look like without JavaScript.

So going into Twitter, you can see that there’s a Twitter feed. And if you don’t have JavaScript running, it’s going to give you this message where JavaScript is disabled in the browser, and you can see what it’s going to look like without JavaScript.

So this is what Twitter looks like without JavaScript. And in order to set that, you can set that in your Settings. So go over to the three dots in the top right-hand corner of Chrome under Settings, or you can use the shortcut.

Open up the Settings window, and then scroll down to where it says Advanced. And then scroll even more down to Site Settings. And under Site Settings, it’s going to show you what’s allowed and what’s not allowed.

So if you go down a little bit, you’re going to see JavaScript is currently blocked. And what I want to do is enable JavaScript. Go back to the Twitter Wikipedia page, refresh it. And let’s go back out to Twitter. And you can see that the page looks entirely different.

And you can check this out for any number of web pages. So even with Google, if I go and if I disable it, and if I refresh my Google search, it’s going to look different as well. So it’s going to look a little bit more dated and something that you might have expected from a few years ago.

So go, ahead try this out for this exercise of this lesson, and see what the world is like without JavaScript.

And before we conclude this lesson, another fun website to explore is web.archive.org. And this is where you can check out all of your favorite websites and see how they’ve evolved over the years. And especially with it comes your JavaScript and the evolution of JavaScript and how JavaScript has really helped evolve websites to what they are now, making them more dynamic and interactive.

So if you go back to 2001 when JavaScript was just in its infancy, there’s going to be a big difference. As well as the layout and the way the websites are handled are way different than they are currently.

So this is another fun website to explore to get a sense of the evolution of the web. Again, that’s web.archive.org. You can check it out, and you can also select any date that you want of your favorite website and check out the different snapshots that are available.