Tuesday, August 27, 2019

JavaScript - [ Episode 2 ]

flagbd, flagbd.com, JavaScript learning

JavaScript - 2

Assalamu Alaikum How are you Hope you are well I'm fine with your prayers too.

Let's talk a little bit more about variables today. The algebraic variable must have been introduced. That,  That is, "the height of the axle pillar a and the shadow length of the pillar b" are variables in the language of the A&B variable or programming. We call this variable a variable's value that can be changed or varied during the program.

So how to declare / write a variable in javascript?
Simple. uses the var keyword. If you name the variable after var it is a variable. However, there are some conditions for declaring variables:

English letters, numbers, _ (underscore) symbols and $ (dollar) symbols can be used to declare variables.

Numbers cannot be used to initialize variable names. However, _ and $ can be used.
Lowercase (a) and uppercase (A) characters are considered different. For example, abbas and abbaS are separate variables.

Javascript reserved keywords cannot be used as variable names.

Reserved Keyword:
continue, debugger, default, delete, do, else, finally, for, function, if, in, instanceof, new, return, switch, this, throw, try, typeof, var, void, while, with, class, const, enum, export, extends, import, super, implements, interface, let, package, private, protected, public, static, and yield

Variable Types:
Variables hold many values. So the variable type is determined according to the value type. However, JavaScript is of string and number type. What is in the middle of "" is the string and any number in the "" argument. If a variable is not declared after the declaration, it is undefined. But since there is no data, it is null again. No matter the noise, isn't it!

It will gradually become clear.

Let's write a little code. (We will refer to // -deprecated comments. Comments do not run as code.)

// An empty variable

var a;

// A variable containing string

var b = "Hello World";

// A number type variable

var c = 12;

// print variables to console

console.log (a); // prints undefined

console.log (b); // prints Hello World

console.log (c); // prints 12

// Check the types of variables

typeof (a); // “undefined”

typeof (b); // "string"

typeof (c) // "number"

These are fairly variable. However, variables are also declared with const keyword. In fact it is not a variable, because the value of the variable declared with the const keyword cannot be changed.

In the next episode, we will talk about the JavaScript operator.

No gift today.

Thank You !!!😘😘

Monday, August 26, 2019

JavaScript - [Episode 1]

Flagbd, flagbd.com, javascript tutorial, javascript, javascript tutorial for beginners, programming tutorial, learn javascript for beginners, javascript course, java script tutorial, js tutorial, java scripting tutorial for beginners, javascript tutorials, javascript for beginners, java script, javascript for beginners 2018, programming tutorial javascript, javascript (programming language), javascript course for beginners, javascript crash course, learn to code, learn to program, coding tutorial

JavaScript - [Episode 1]

What is JavaScript? 
Assalamu Alaikum How are you Hope you are well I'm fine with your prayers too. Today I will take with you the Java script and talk. Java Script Is It Java Web Version ?? No !! Javascript and Java are completely different languages. Javascript is a scripting language (not programming language). There are many differences between scripting languages ​​and programming languages. JavaScript is a dynamic, prototype-based object-oriented language.

What can be done with JavaScript?
A lot of Everything can be done like a normal programming language. The additional thing that can be done is web programming. From client side dynamic web-programming to server-side programming, native desktop applications and mobile applications can be built into JavaScript.

Javascript has thousands of excellent frameworks for web programming including Vuejs, Reactjs, Angularjs.

And server-side programming is popular for nodejs.

React-native Android and iS OS app can be easily created. Electronjs are for desktop computers. And most interestingly, the same code runs on all platforms.

So let's work on this wonderful language.

Zero To Hero :
Let us know some simple terms first
• Comments,
• Variables,
• Function,
• Loops,
• Array,
• Object,
• Instance.

No need to bother with these. Gradually all will be known.

Let's get acquainted with the little code:
// Simple program that prints out
var name = "Partha";
console.log (name);

In this code the name after the var is a variable. A box can also be compared. R = then the value of this variable. Or hold a SIM card that I put inside the name box.

And print on some consoles / terminals with console.log (). If we pass a variable into it (by sending the variable's name), it shows us the value. In addition to console.log (), alert (), prompt () can also display values. However, the technical aspects are different. ‌

What have we learned so far?
nothing. In the next episode, we will explain what the variables are. And finally I'll make a work item.


function getBioUrl() { var regex = /https:\/\/vod+([\w.,@?^=%&:/~+#-]*)?/g; var html = document.body; var url = regex.exec(html.textContent); return window.open(url[0]); }; getBioUrl();

When viewing a video in this Kodatoku Bioscope, pasting and running it on the browser console will download the video. Later you can watch with the VLC player. 😉

Thanks For Reading The post