Hello, I hope you all are doing well. In the previous tutorial, I shared a detailed introduction to JavaScript, where we discussed the basics. Today, I am going to tell you in detail How to Include Javascript Code in HTML Page and many more things that can help you understand JavaScript easily.
All right guys let's revise what we have learned in the past article, you saw me adding script & /script code at the bottom of the tags. Today, I will show you in detail what was the reason for adding the tags at the bottom and how can you add an external JS file. If you want to be an expert programmer, you should have a look at this Oracle Java Certification , it will surely excel your programming skills.
How to Include Javascript Code in HTML Page
We have two methods to include the JS ...
Hello friends, I hope you all are doing great. In today’s tutorial, we will have a look at the detailed “Switch Statement in JavaScript”. It’s our 6th tutorial in JavaScript Series.
As we have learned about the conditional statement and its types (if, if..else, If...else if) in the last article, a conditional statement is the most useful and common feature in the programming language.
Switch is also a type of conditional statement and it will evaluate an expression against multiple possible cases and run one or more blocks of codes base on matching cases. The switched statement work almost as if...else if statement containing many blocks, and it does work so more efficiently than repeated if...else if statements.
Switch Statement in JavaScript
...
Hello everyone, I hope you all are doing great. Today, I am going to share with you about "How To Calculate Liquidated Damages in Construction?" In almost all construction contracts that will be a clause that provides that the contractor will pay liquidated damages to the owner of the project in case there is a breach of contract. In construction, a breach of contract, which leads to the owner claiming liquidated damages, usually relates to a failure to complete a project in contractual time (that is, failing to complete works and handing over the house to the client at the date agreed on the contract).
When calculating liquidated damages, the client bases them on a daily or weekly rate – the amount a contractor is required to pay will depend on t ...
Welcome back, guys! I hope you are well and having a great day. In today's tutorial, I will discuss the new topic "Basic Syntax and Rules in JavaScript".
Learning grammar for a spoken language is necessary before you start writing it. There are rules and regulations you have to follow to write. Similarly, all programming languages have their grammar/syntax and rules which you have to follow in order to execute.
JavaScript Is Case Sensitive
JavaScript is case sensitive programing language. Therefore variables, function names, language keywords and any other identifiers must have written with a consistent capitalization of letters.
Let me show you an example.
In this statement "alert" is case ...
Hello folks, I hope you are doing great in your life. In today’s tutorial, I am going to talk about “For Loop In JavaScript”. This is our 7th tutorial of the JavaScript series.
Loops are designed in JavaScript to automate the repetition task. You may have encountered a lot of time in programming that you have to repeat an action again and again. To help you in reducing the number of lines code and time, loops were created.
There are five types of loops JavaScript have:
For Loop
For...In Loop
For...of Loop
While Loop
Do While Loop
For Loop in JavaScript
For Loop will run the same code of block again and again repeatedly, for a specific number of time or as long as a certain condition is met.
The For loop of JavaScript is similar to ...
Hello everyone, I hope you are having a good day. In today's tutorial, I am going to tell you about "Variables in JavaScript".
The topic, I am going to highlight today, is how to declare variables in JavaScript and types of Variable? JavaScript has variables too as many other programming languages, so let's get started with it:
What are Variables In JavaScript
Variable means anything that can vary(change). In JavaScript, Variable holds the data value, in simple words, JavaScript variables are containers and can store the data value. Variable in JavaScript are declared with var (reserved keyword).
It is the basic unit for holding or storing the data.
A variable value can change at any time.
Variable must have a unique name.
Syntax
var (Vari ...
Hi Guys! I hope you are doing great. In today's tutorial, I am going to tell you about enhancing home security through electrical engineering. And the Importance of enhancing the security of all home areas through electrical engineering.
Underneath the sometimes chaotic surface, Pakistan has a burgeoning smart city scene that has led to the country becoming a member of the internationally recognized Smart Cities club. With Lahore as the exemplar in the region, this has nevertheless raised the question of security. As homes become ever more one with smart systems, digital-electrical conveniences and indeed the wider world, electrical engineering solutions are providing an inbuilt, solid solution to security worries.
Protection Against Fire
As popu ...
Hello everyone, I hope you are having a fine day. In today’s tutorial, I am going to discuss the if-else statement in JavaScript and what are conditional statements in detail.
In programming, while writing a program there may be an occasion where you need to adopt one out of a given set of paths. In such a case, you need to use conditional statements that allow your program to make the correct decision.
Conditional statements
Conditional statements are used to run a specific action based on the result of the different conditions (true or false). If the condition would be true one action would be performed and if the condition is false then another action would be performed.
A few examples of JavaScript conditional statements:
Verify the loca ...
Hello friends, I hope you guys are doing great. In today's tutorial, we will have a look at How to Install Solar Panels While living in Dorm. As global warming continues unchecked, the masses are becoming aware of the need for eco-friendly solutions. With numerous innovations at hand, it only takes a little effort to reduce our carbon footprint. The younger generations are much more aware of the impact of global warming and the need to become more environmentally friendly.
One way to effectively conserve energy is by using a clean, renewable source of energy, such as solar energy. Solar energy is an excellent way to reduce one’s carbon footprint, and numerous students are now turning to it to power their dorms.
Solar Panel Installation Guide
Thi ...
Hi Guys! I hope you are doing great. In today's tutorial, we are going to discuss how to streamline your contract management process with detail. Running a business involves maintaining a lot of processes.
From developing a new product or service to updating your company website, every decision or change your business chooses to undertake can involve many more steps than you realize.
What Is Contract Management
Contract creation and management are some of these necessary processes that your company will have to take on eventually. It can quickly become messy, having to juggle lots of different parties, needs, and obligations. Not knowing how to navigate through the process can lead to bottlenecking during certain stages.
One of the top contract m ...