Posts

How to Use JavaScript to Do Calculation and Make Decisions in Your Website???…

How to Use JavaScript to Do Calculation and Make Decisions in Your Website???… Now you know that how to store data in JavaScript program, now it’s time to do make some mathematical operations and have fun with it. As usual in your school days you did math operations like addition, subtraction, multiplication, division, in programming they all work same and we call them operators. The combination of at least two operands and an operator make an expression. These expressions have some defined order of evaluation, which tells which expression should have to be evaluated first. An easy way to remember the order of a evaluation using a mnemonic, PEMDAS (Parenthesis, Express, Multiplication, Division, Addition, Subtraction) which tells parenthesis are first to evaluate then expression within it then multiply, division, addition and then at last subtraction operator is evaluated. 22.3 / 11 / 12 ∗ 15.33 ( 12 + 15 ) − 2.567 22.3 / 11 / 12 * 15.33 (12 +15) - 2.56

How HTML Forms Works with JavaScript and Optimize Your Productivity with JQuery

Image
How HTML Forms Works with JavaScript and Optimize Your Productivity with JQuery No webpage can be complete without having a source of adding interactions and letting users send information to the database for the purpose of solving problems using programs on a webpage. That is some client-side processing. The DOM model forms consists elements that creates interface for your webpage or application and we tie events to these elements to perform actions we desired. These interface elements inside HTML form using tag. So what are these interface elements HTML? They are the ones that can receive events and add interactivity to the page as discussed in our previous article includes, text box radio buttons and check-boxes etc. is a way of receiving information from the user like ordering a shoes from an online store, providing destination for your ride, find shortest distance between two locations, a group of people for our soccer match, finding a lottery winner using

How to Use Events to Create Interactions in HTML Websites with JavaScript

How to Use Events to Create Interactions in HTML Websites with JavaScript Have you ever imagined a web-page that doesn’t offer any interaction? it would felt like uninteresting and not useful at all. While browsing you actually perform some kind of actions by clicking, pointing to a button, refreshing a page, dragging/dropping and etc. etc. Interaction give you controls to make changes to a page, like filling up a form to sign up, choosing desired meal for an order, getting or sending information to a web-page, and much more. Let’s take a look on how these interactions are made possible in a web-page for HTML elements using JavaScript. Events allow us to create interactions between elements and user in a web-page. These interactions include, clicking on a button, entering text, filling up a survey and switching picture in a gallery automatically. HTML elements from button, text-box, selection-box, check-box, radio buttons, text area, images, links, forms all ar

Solve Real-world Problems with JavaScript Objects, Methods and Properties

Image
Solve Real-world Problems with JavaScript Objects, Methods and Properties You might suspect that how JavaScript correspond to real world problems and the answer lies in objects, methods and properties, they help us solve real-world problems. Let’s assume a person as an object which can see, hear, eat and walk etc. we call them function / methods of an object. How far the person can see, how loud can hear and how much can eat, properties define for an object. As an example, a child eats less than an adult, so defining properties for each object will help us differentiate between objects. We will take a quick look how we create and use objects, their methods and properties. Most common objects / reference data-types built-in to JavaScript are Arrays, Date, Math and String. The basic purpose of an object is to not just create a data container but facilitate with methods and properties to do additional work on the data depending on requirement of the purpose. They giv

Your First step into JS

Your First step into JS Have you ever imagined a web-page that doesn’t offer any interaction? it would felt like uninteresting and not useful at all. While browsing you actually perform some kind of actions by clicking, pointing to a button, refreshing a page, dragging/dropping and etc. etc. Interaction give you controls to make changes to a page, like filling up a form to sign up, choosing desired meal for an order, getting or sending information to a web-page, and much more. Let’s take a look on how these interactions are made possible in a web-page for HTML elements using JavaScript. Events allow us to create interactions between elements and user in a web-page. These interactions include, clicking on a button, entering text, filling up a survey and switching picture in a gallery automatically. Now the question comes out, how these events are performed? Before that you must know what HTML elements your web-page consists of and which element can receive events.

What is Algorithm? Know How Easy it is to Write Your First Algorithm

It's very possible that you've heard this word before possibly in your primary education classes. This article is just a revise to your knowledge, because it makes your first entry into the programming world. Algorithms help you get into the big world of problem solving. Every business every problem needs some solutions and algorithms are where to help us. Before you begin programming, you must know what algorithms are and this article will help you knowing this at least from nothing to something. Algorithm is a process of step-by-step execution of specific instruction to get a specific task done. Algorithms are everywhere, just look around every solved problem in this world gets to a solution in structured manners. From the beginning of this world, we humans are busy in try to solve all the mysteries. As we come to solve any mystery or problem, we have a tradition to write down the steps that took us to the solution, so we won't need to start over again. There are man

My Mission

Today, I have just launched my blog on beginning to programming. I'm very hopeful to be consistent, keep going with my programming knowledge and will share this knowledge with full of my faith. I hope I will do it sincerely and consistently. Since it's my beginning to a new knowledge for me, but not new to many people who are already in this field and doing well and making making remarkable changes to this world. I’m very motivated to be a part of it and will try to do the same as an every genuine programmer. Let’s begin getting the programming knowledge!