create account

JavaScript : The Scripting Language by alrashel

View this thread on: hive.blogpeakd.comecency.com
· @alrashel · (edited)
$0.07
JavaScript : The Scripting Language
> Here JavaScript, the scripting language I picked up to learn from scratch to advanced level. JavaScript is the heart of the standard web technologies and it is evolving with bleeding-edge features. We'll try to dive deeply into the JavaScript world step by step. 

![computer-1836330_1920.png](https://images.hive.blog/DQmRYD6d2QvoVgnymodxLrm2fTPEvSBkeeDh4nCESHz8Y9C/computer-1836330_1920.png)
[Source](https://pixabay.com/illustrations/computer-computer-code-programming-1836330/)

# <center><b> JavaScript : The Scripting Language</b></center>

### Table Of Contents
1.Introduction to JavaScript
2.Use cases of JavaScript
3.JavaScript in Client-Side
4.JavaScript in Server-side
5.JavaScript’s  API, Libraries and Frameworks            
6.Manuals and specifications
7.Code editors
8.Developer console                                                             

## Introduction to JavaScript:

JavaScript is a scripting language that conforms to the ECMAScript specification. It is a multi-paradigm, just-in-time compiled and high-level programming language that lets us implement stunning dynamic features on web pages. HTML, CSS, and JavaScript are the core parts of the standard web technologies.  

HTML is being used to structure web content and web pages. CSS is for styling these web contents and JavaScript is for dynamically changing or updating or presenting the contents. 


Let’s take a example and break it down: 

Only HTML applied -

![js1.JPG](https://images.hive.blog/DQmUTiBLVWukYkmjaPL8Q9hXSRTFX5KrHJdbmCnPjxG5ANC/js1.JPG)

#### Output 
 Singer:Anusha

HTML with CSS -

![js2.JPG](https://images.hive.blog/DQmbkiT2uZXzHnv5QmSBSC8w84tzwijRE8THo8wCT5P8j3u/js2.JPG)

## Output

![js3.JPG](https://images.hive.blog/DQmUsdLD8fqy3y37wrXEVfGAH2qkbhveKzVF2WRJK9NP3So/js3.JPG)

Finally add the below JavaScript code with HTML and CSS

````javascript
const para = document.querySelector('p');

para.addEventListener('click', updateName);

function updateName() {
let name = prompt('Enter a new name');
para.textContent = 'Singer: ' + name;
}
````
[Output(Click to show)](https://codepen.io/Minto258/pen/LYpLPYm)

#### Next 
###### Use cases of JavaScript
👍  , , , , , , , , , ,
properties (23)
authoralrashel
permlinkjavascript-the-scripting-language
categoryhive-122108
json_metadata{"tags":["stem","hive","programming","educations4all","js"],"image":["https://images.hive.blog/DQmRYD6d2QvoVgnymodxLrm2fTPEvSBkeeDh4nCESHz8Y9C/computer-1836330_1920.png","https://images.hive.blog/DQmUTiBLVWukYkmjaPL8Q9hXSRTFX5KrHJdbmCnPjxG5ANC/js1.JPG","https://images.hive.blog/DQmbkiT2uZXzHnv5QmSBSC8w84tzwijRE8THo8wCT5P8j3u/js2.JPG","https://images.hive.blog/DQmUsdLD8fqy3y37wrXEVfGAH2qkbhveKzVF2WRJK9NP3So/js3.JPG"],"links":["https://pixabay.com/illustrations/computer-computer-code-programming-1836330/","https://codepen.io/Minto258/pen/LYpLPYm"],"app":"hiveblog/0.1","format":"markdown"}
created2020-04-27 15:44:06
last_update2020-04-27 15:50:03
depth0
children1
last_payout2020-05-04 15:44:06
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.031 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,167
author_reputation2,707,464,674,673
root_title"JavaScript : The Scripting Language"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,032,729
net_rshares169,485,655,163
author_curate_reward""
vote details (11)
@hiveblogger ·
Best learning source. 
properties (22)
authorhiveblogger
permlinkre-alrashel-2020427t221314325z
categoryhive-122108
json_metadata{"tags":["stem","hive","programming","educations4all","js"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-04-27 16:13:18
last_update2020-04-27 16:13:18
depth1
children0
last_payout2020-05-04 16:13:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation84,840,097
root_title"JavaScript : The Scripting Language"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,033,225
net_rshares0