Sunday, June 10, 2018

Java Script Tutorial 1


Learn JavaScript Quickly
Introduction: -
            Welcome to Learn JavaScript Quickly tutorial series.
As you know that there are a lot of tutorial there to teach you Java Script in detail which will take a lot of your time. And you are having low amount of time to spend. Here you will learn JavaScript Quickly. So without wasting much time let’s start learning JavaScript Quickly.
            JavaScript is a client side language in website design and development. JavaScript runs in a web browser. Java script is usually used for client side validation, interaction with html and many other client side works. In this tutorial of JavaScript Quickly series you will learn Basic Variables, Loops, Writing on webpage and displaying messages. One thing to remember is that in this tutorial no HTML will be included which will make this tutorial easy to learn. We will make HTML file to run our script only.

Writing something on webpage using JavaScript:-
document.write(); function is used to write anything on web page. You will pass text to this function to display on document.
Example:-
<script>
            document.write(‘Learn JavaScript Quickly’);
</script>
This save this file as .html and open this in browser. This will display “Learn JavaScript Quickly”
“<script></script>” are html tags for adding JavaScript in html document. Always remember to surround your JavaScript with these tags. You should always add “;” at the end of JavaScript line.
Exercise:-
You should write your name using this function you have learned.

Displaying Messages:-
alert(); function is used to display messages in webpage. You will pass text to this function to display message box.
Example:-
<script>
            alert(“Learn JavaScript Quickly”);
</script>
Above code will display message “Learn JavaScript Quickly”. Run this and see result.
Exercise:-
Write your name using alert 3 times.

Basic Variables:-
This section will teach you only basic variables and their usage. Variable is a section of memory which is reserved for storing any data. To store anything JavaScript uses var for variable declaration. Syntax of declaration is var myVar; and value is added as myVar = 10 etc. Here value is 10.
Example1:-
<script>
var myVar;
myVar = 10;
document.write(myVar);
</script>
Example2:-
<script>
var myVar;
myVar = “Learn JavaScript Quickly”;
document.write(myVar);
</script>
In this code myVar is a variable which is used for storing alphabets and numbers.
Exercise:-
Write your name on document by adding it into a variable. You should also display message showing value of your variable.

Loops:-
If we want to repeat some set of commands, actions or conditions loops are used. Syntax is “for(Condition){}”, “while(Condition){}” and “do{}while(Condition)”. Loop is terminated on certain condition.
Example for Loop:-
<script>
            for(var i=0; i<10; i++)
            {
                        document.write(“Learn JavaScript Quickly”);
}
</script>
Explanation:-
We have made a variable i and added value of 0 to it. Then checking i<10;. i++ is used here to increase i by 1. Which will repeat document.write(“Learn JavaScript Quickly”); 10 times which will display “Learn JavaScript Quickly” 10 times.
Example while loop:-
<script>
            var i = 0;
            while(i<10)
            {
                        document.write(“Learn JavaScript Quickly”);
                        i++;
}
</script>
Explanation:-
In while loop we can’t make variable, add value to them and increase them like for loop. We have to declare variable separately check for condition as while(i<10) then in body we can increase variable like i++.
In this example we have made a variable var i=0; then checked it as while(i<10) then increased it as i++;. With this document.write(“Learn JavaScript Quickly”); will be repeated 10 times to display  “Learn JavaScript Quickly” 10 times.

Example do while loop:-
<script>
            var i = 0;
            do
            {
                        document.write(“Learn JavaScript Quickly”);
                        i++;
}
            while(i<10)
</script>
Explanation:-
This loop works same a while loop. It has one main thing that it executes at least once. In this example we have created a variable var i=0; then we have to write do{} to start our do while loop. After body { } we check for condition of do while loop as while(i<10). In body i will increased as i++;. When the loop will execute it will repeat document.write(“Learn JavaScript Quickly”); ten Times to display “Learn JavaScript Quickly” 10 times.
Exercise:-
Display 7 messages box displaying anything using for loop, while loop and do while loop.
The End
Keep visiting for more instructive posts.


Wednesday, May 25, 2016

LND Test app 2016

To Download LND Test app 2016 Click Following Link:-


Welcome to new post for update of LND Test app 2016. This new app is developed for better practice of students. LND Test app 2016 has following new features.

Result of every question:-
Result of every question attempted by student is promptly displayed in this LND app. So teacher can get to know about which question is attempted by student correctly to identify week points.

Result Sheet with remarks:-
At the end of quiz Result sheet is displayed to show overall result of student. Remarks are also provided about student's preparation for attempting LND test conducted by MEAs.

Different Paper for every Student:-
Different paper for every student is generated in this LND Test app 2016. This feature was asked by many teachers. Know student can be prepared in a better way for LND Test.


Keep visiting this blog for more helping material and apps.

Saturday, January 9, 2016

Updated lnd test app for practice of grade 3 students




Aslaam o Alikum!

Hope you all are using lnd test app for practice of grade 3 students. Many of you told me that there is need for calculation of marks at the end of quiz. This new version of lnd test app for practice is launched with marks at the end. New questions are also added in this lnd test app so students can learn more. 

Android Versions Required:-

Android versions required for this app are Android 2.3 or any version better then Android 2.3.

To Download Click following link

Do share with other and give me your suggestions. And keep checking our blog for upcoming versions of lnd test app for better practice of grade 3 students.



Wednesday, November 25, 2015

Grade 3 Test App 


Welcome!
      As you know that students of  Govt Schools are tested with a new type of system known as LND test. For preparation of these tests a booklet is created for students which is distributed among all teachers. Using those booklets an app for practice is created known as Questionnaire. This app is for android with a little amount of questions so teachers can use this for preparing their students on touch mobiles.

Specifications of Application:-
      This application is developed for Android 2.3 approximately every mobile after that is supported so for this application to run you should have at-least Android  2.3 or higher.

Download Link:-
      You can download this app from following link.

For any kind of  suggestion or feedback you can comment below.