console.error(” Errors”)
The above line of code can be used to log the errors.
This can be viewed after the complete code/program execution as shown below
console.error(” Errors”)
The above line of code can be used to log the errors.
This can be viewed after the complete code/program execution as shown below
Active HTML Element : When the user clicks on a control such as Button, label or Textbox, then then focus is set on this control. For example, if the user has clicked on a button. Then the active HTML Element is the Button.
The active HTML Element can be determined by typing the command document.activeElement in the console after selecting the control of interest. Please see below image as an example.
Let us see how to jump into the code in JavaScript sources from console by following the steps below
Frontend Frameworks are pre-prepared JavaScript libraries with CSS and Bootstrap components that is used in development of web applications. It is a development platform for your front end. It has methods for building files, associating data with DOM elements, styling components and AJAX requests.
Frontend Framework include specific tools.
Now let us jump into the best frontend frameworks.
React is a most popular frontend JavaScript library for building user interfaces. It is component-based and employs MVC architecture, with different table of presentation and data availability using JSX syntax. Facebook (Meta) developed and introduced in 2011. It became opensource library in 2013. Frontend specialists choose it to build large-scale web applications that use various data.
Virtual DOM with one-way data binding.
User friendliness and comfortable learning makes it a good choice for beginners.
It is a right choice for interactive interface as React components are reusable.
Since React is not fully a framework, some essential features are not preserved and you need to rely on additional libraries like redux for complex applications.
Not suitable for developers who are not ready to work in JavaScript
Netflix, Facebook, Instagram, Youtube, Walmart, eBay, LinkedIn etc.,
Angular is a framework built with Typescript developed by Google. It is component-based framework for developing scalable web applications. Angular allows you to scale single-page web applications to enterprise level web applications.
It is a full-scale framework.
Directives and dependencies injection functions.
Reduces time because important features such as two-way data binding are provided by default.
It is extremely difficult to learn.
Limited SEO capabilities
Forbes, Xbox, Deutsche Bank, Santander, UPS, BMW etc.,
Vue is a modern, progressive MVVM framework that takes advantage of incremental adoption. It solves presentation layer problems and simplifies working with libraries.
Progressiveness
Reactivity
Simplification
Availability
Fast development
Lack of plugins and language barriers
Relatively new and developed by private individuals
Limited community
Limited applicability for more extensive complex projects.
Trivago, Gitlab, Grammarly, Adobe, Alibaba, Nintendo etc.,
For complex projects – Angular
Smaller projects or prototype – Vue.js
For flexibility – React
JSON is an acronym of JavaScript Object Notation. It is a storage format derived from JavaScript programming language and it is language independent.It is a text-based data format that is used to store and transfer data. It’s quite important to know while data which we fetch from external API are always in JSON format.
JSON objects are in a .json file which is quite similar to object literal syntax which consists of name, value pairs but the format is text only. Both the name and values are quoted in double quotation.
If JSON objects are in .js or .html file then the syntax is
In terms of Syntax JSON is similar to JavaScript objects but the name in JavaScript objects are not in double quotes.
JSON data is written as name and a value pairs. A name/value pair is like field name in double quotes followed by colon (:), then value.
As mentioned earlier JSON objects are in curly braces.
JSON arrays are in square brackets.
Here ‘names’ is an array, and it contains 3 objects. Each object is a record of a person.
JSON data can be accessed using dot (.) notation.
We can also use square brackets to access JSON data.
JSON | JavaScript Objects |
The name in name/value pair should be in double quotes | The name can be without double quotes |
JSON cannot contain functions | JavaScript objects can contain functions |
JSON can be created and used by other programming languages | JavaScript objects can only be used in JavaScript. |
You can convert JSON data to JavaScript object using in-built JSON.parse() function.
You can convert JavaScript object to JSON using in-built JSON.stringify().
JSON.stringify()
Object to JSONJSON.parse()
JSON to ObjectStep1: Goto the Rendering tab of the Developer Tools as shown in below picture
Step2: Select the Check box ‘Emulate a focused page’ as shown in below picture
Let’s see about some most important tech skills which are in demand.
Knowing the latest trends in Big data can help you in making better business decisions and develop customer experience. Data is one of the most valuable asset for business.
Before getting into the difference, first we need to know what cloud service models is.
Based on the level of flexibility, control and management you need, you can decide on the cloud service model. There are three types of cloud service models.
On-premises Software are services that are deployed and managed on a hardware at an organizations building or own premises. These require you to buy a software license so you can install and use it on your own premises. Popular examples include Microsoft or Adobe products.
For cloud based services we use pay as you go model. So you don’t need to buy the whole software. You only need to pay for what you use. Based on your demand, flexibility and control you can choose between three models.
It is also known as HaaS ( Hardware as a Service). Here the computing environment is managed over the internet. The user don’t have buy and manage physical servers. User have control over the data infrastructure. Scalable for complex projects.
PaaS is a scaled-down version of IaaS. It lets developers built custom applications online without having to deal with data servers, storage and management. SaaS applications are built on PaaS platforms. It is the ultimate solution for web applications.
Most common service model. It doesn’t require download or installation and is easily available over the internet via subscription basis.
IaaS | PaaS | SaaS | |
Provider manages | Infrastructure( network, virtualization, hardware ) | Infrastructure and Platform | Infrastructure, platform and software |
You manage | Platform( OS, middleware, runtime ) and software( data and apps ) | Software | You manage nothing. Just use the software |