Tag Archives: featured

JavaScript Tutorial

About JavaScript Tutorial

Welcome to your first day of learning JavaScript. This tutorial covers JavaScript from complete beginner to advanced level.

It is full of Examples, References, Syntax’s, Tips, Notes, Warning, Activities, etc.

What do you think JavaScript is?

JavaScript is an object-oriented programming (OOPs) but definitely not class based OOPs like Java, C++, etc.

OOPs is based on the concept of “Object” which contains data and function. Further, Function contains statement and instructions for the compiler to compile and give the output. 

JavaScript is a scripting language that is easy to implement as it can be easily integrated within HTML.

Warning:
You  must have basic knowledge of HTML before you learn JavaScript.

Why use JavaScript?

Learning JavaScript is important for students who want to make a career in Website Development.

We are here to help you learn JavaScript in real-world with real-time applications.

Advantage of using JavaScript

  1. Browser Compatibility – . All the major browsers like Google Chrome, Mozilla Firefox, Opera, Internet Explorer, Bing, etc supports JavaScript.
  2. Flexibility– JS is flexible to use as the coding is flexible. For example, the variables don’t need to be declared with data types. You use a single keyword to declare every kind of data type, i.e. “Var”.
  3. User-friendly– It is easy to code with JS.
  4. It is one of the most famous Scripting Languages and thus, programmers prefer JS as their choice. Learning JS helps with back end and front-end development. Node JS, jQuery, etc. are the frameworks where JS is used. 

Prerequisite - Requirements

Anyone can learn JavaScript but it is mandatory to have basic knowledge of HTML. We assume that you have a basic understanding of HTML before learning JavaScript.

If you are not familiar with HTML, it would be better to learn the basics of HTML first and then come back here.

Click Here to Learn HTML

Audience

Our target students are Beginners or Intermediate level.

It is ideally suited for those who wants to build their career in Website Development & Design.

What will you learn in this Tutorial?

We will make sure that this JavaScript will provide an in-depth explanation of each topic.

By the end of this tutorial, you will master JavaScript from Basic to Advanced level.

We request you to go through each topic thoroughly and we have at least one Activity at the end of every topic.

If you have doubt or wants to share anything will us, you can send it us and we will try our best to respond.

JavaScript Examples

The best part of learning JavaScript from us is that we have the “Run the Code” feature at the bottom of each example.

You can click on “Run the code” to execute our examples live in the browser.

Little coding for fun and learn - Basic example of JS

<!DOCTYPE HTML>
<html>
<body>
  <script>
    alert( 'Hello, world! Welcome to TutorialBrain!');
  </script>
</body>
</html>

Explanation of Example:

The output of the program is:
Hello,  world! Welcome to TutorialBrain!

And the output will print on the alert box. It will drop from the search box of the browser.

The Alert box will contain the message with the “Ok” button.

The alert() function is used to print the message in the alert box.

The alert box can be used to take input and give output.

Activity

Write a JavaScript Program to display or print “Thank you for Visiting us!” on the alert box.

Google Slides Tutorial

What is Google Slides?

Welcome to the Google slides tutorial series. This is going to be the first article of the series. So read all the articles to have a complete understanding of Google slides.
 
Let’s understand What is Google Slides?

Google slide is a simple slide management and presentation web-based free tool. It is to create slides or presentations offered by google. This is a great alternative to Microsoft PowerPoint.

In fact, it has all the basics and intermediate features of Microsoft PowerPoint. You can add text boxes, shapes, images, articles, charts, animations, transitions, etc.

Document Setup

How to open google Slides?

First, you have to go to drive.google.com. You will see an area where you will be having the recent documents. If you have opened any google slide documents, you can see them in this area. Under, ‘My Drive’, you have ‘Google Slides’.

How to open Google slides from Google drive
How open Google slides google drive new button
How open Google slides google drive new button

Another way to access Google Slides is through slides.google.com. Select the ‘Blank Presentation’ to start a new presentation.

Go to slides.google.com to open Google Slides

Aspect ratio - Page setup

You can resize Google Slides for any paper size, be it portrait mode, Landscape mode. You can make it mobile friendly or vertical or any custom size.

The best aspect ratio is 16:9 but some professionals prefer the standard size which is 4:3 as well. If you want to customize it, you can choose your custom dimension such as – 33.87 cm * 19.05 cm or 11 * 8.5 inches.

To change to portrait in google Slides, you need to go to File -> Page setup

The portrait size is 8.5 * 11 inches. This is the best size for printing

Google slides portrait mode page orientation

Bonus Tips

  • To make the Page setup mobile friendly, the best size is 9 * 16 inches.
  • For Landscape, the size is 11 * 8.5 inches as this is perfect for Landscape style.
Google slides mobile friendly tutorialbrain

Save the Google slides into a folder

It is always advisable to select a particular folder to keep your Google Slide organized.

Although, you can also move your Google slides to a particular folder later as shown below:

Google slides Move to a folder

Google Slides Interface

The Menu bar contains  options like File, Edit, View, Insert, Format, Slide, Arrange, etc. I am going to cover this in detail in this tutorial.

The Tool bar is located just below the menu bar.

Google Slides Interface-Tutorialbrain

Toolbar when Text is selected or when the cursor is on a text

If you select a Text, the tool bar will have a particular list of options. If you select an image, the toolbar will have another set of options. Similarly, if you add a shape, the toolbar will be having options specific to shape and so on.

Google slides toolbar for text