Showing posts with label Webmastery. Show all posts
Showing posts with label Webmastery. Show all posts

Friday, 21 October 2016

The Best Local Server for Android users

Hello...

Time for another chit chat. Smiles.
Today I bring to you some talk on local web servers for phones running Android OS. I have tried a couple of 'em before this particular one and they have all proved to be the same thing — having one flaw or the other.

Thursday, 20 October 2016

Newbies — Do Something!

Here is the advise I give to every newbie I coma across (myself inclusive)  — Do Something! 
I barely know some code, how do I do something?
Oops!!! Don't be like that... You can reproduce other people's work(s) — just in a different way. 

Tuesday, 18 October 2016

Beginner Approach to Arrays in PHP

Hello!!! It’s time to learn again. As I have made it clear before, I will make sure that I explain every topic in a way that a complete beginner would understand.
PHP ARRAYS
Arrays are special types of variables. They are special variables because they can hold more than one variable at a time unlike variables

Friday, 30 September 2016

JavaScript Arithmetic Operators

js-pc.jpg

Arithmetic operators perform arithmetic operations on numbers (literals/variables — also known as operands). There are a number of JavaScript operators including: + (Addition), - (Subtraction), * (Multiplication), / (Division), % (Modulus), ++ (Increment), -- (Decrement).

JavaScript Operations

A typical and simple JavaScript operation has two numbers (operands) to work on. Take a look at the example below:

 var sum = 10 + 20; document.write(sum); 

In the snippet of code above, a variable “sum” was declared and the sum of 10 and 20 is assigned to it, on the next line, the result (30) is printed to the screen.In the same manner, we can use the arithmetic operators on variables as well, say for example:

 var a = 2; var d = 5; var product = a * d; document.write(product); 

In the snippet above, a value, 2, is assigned to variable a, 5 assigned to d, and the product of variables a and d (in this case, 2 and 5) is assigned to another variable “product” and printed to the screen.

Some Analysis

OperandOperatorOperandResult
5+813
10%31
8/42
10*220

To know more about JavaScript operators, click here.

Saturday, 17 September 2016

JavaScript Operators

jscript.png

Hello JavaScript Geekies! Good day! In our tutorial today , we'll be discussing JavaScript Operators. Let us take a look at this example and we analyze it:

var x; // declare a variable xx = 5; // assign a value of 5 to x

The first line above declares a variable x, ready for assignment (to contain an item/data). The second line assigns 5 to x.

Analysis

5 is the data put in x, and "=" is called the assignment operator (used to assign a value to a variable).

Take a look at another example:

var x, y;x + y = 5;

In the example above, x and y are called Operands while + and = are called Operators.

Further Analysis

  • + is called the Addition operator and it is one of the Arithmetic operators
  • = is called the Assignment operator, used for ‘putting’ a value in a variable (container).

Got question(s)? Leave comment(s) here which will be responded to as soon as possible, or drop a message with 08132690608 on WhatsApp to get added to the JavaScript Geekies group.

Friday, 16 September 2016

JavaScript Variables

jscript.png

Good day JavaScript Geekies! It's time for our next tutorial. Just like I said I'll be posting the tutorial here. No cause for alarm, you can ask your questions here as well as on WhatsApp. In this lesson we'll be discussing in brief, Variables in JavaScript.

Without wasting time, let me move to what variables are. :-) Variables are containers for data items. Some of you will frown at the sight of this with the question “What does this statement mean?” Do not worry, I'll explain it.

Imagine you went to market and purchased a new backpack which you are to use in school (as a student). This backpack is a container (variable) and whatever school item you put in it, be it book(s) and/or pen(s) are the variable item(s).

How do I identify or make a variable in JavaScript?
JavaScript variables are declared using the var followed by the name of the variable. By convention, variables in JavaScript start with a lower case alphabet and every other word in the variable name starting with a capital letter, for example:

var nameOfStudent;

.
This type of case is called Camel case.

What characters can my variable name contain?

  • Variable names should never start with digits/a figure, but can contain figures — just not at the beginning. For example var 2letters; is wrong and will return an error, but var letter2; is a valid variable name.
  • Variable names can contain underscores, for example name_of_school is a valid variable name, the underscore can be placed before the variable name for example
    var _boys;
  • A dollar sign can also start a variable name, for example
    var $name;
  • Variable names are case-sensitive, for example
    var x;
    and
    var X;
    are two different variables.
  • You must not use hyphens in your variable names as they are reserved for subtraction operations, and special symbols like #, % should not be in variable names.

“How do I put books in my ‘Bag’ ”
When you want to put your books inside your bag, you use the = sign, which is called the Assignment operator in most programming languages.

Take for example I want to put "20" inside "numberOfBirds", I'll write:

var numberOfBirds = 20;

To assign "I am a boy" to "gender", I'll write this:

var gender = "I am a boy";

Got questions? Leave a comment here or send a message to 08132690608 on WhatsApp to get added to the JavaScript Geekies group.

A Little advise for newbie “coders”

js-pc.jpg

You just started learning a programming language some hours ago or a day ago and already you wanna write some code for sliders or some other complex computations whereas you're yet to even understand how functions work? You need to take it slow.

As a newbie, it's no news or surprise that you'll have a lot of ideas flowing through your mind that you wanna work on, probably even better ideas than a veteran programmer, but the fact still remain that you're a newbie, and in as much as you want to understand and know how to write your own codes at a later time for other people to use, you need to go slow.

“Slow and Steady wins the race.”

Do not be discouraged though, when you see complex codes and you barely understand the first ten lines, do not rush to understand it either. Understand the basic concepts first, then move on to the intermediate level where you can with ease progress to the Advanced/Veteran level.

Trust me, I've been where you are and when I just started there, I wanted to know everything at once, but later realized I should take it one at a time. Do not push yourself further than you can handle at this time, you'll get better later.

Happy Coding :-D


Twitter: Oladejo Ezekiel
WhatsApp: 08132690608
Facebook: Find me on facebook

Thursday, 8 September 2016

Time for fun and learning!

screenshot-2016-09-08-03.png

Above is a challenge for you. Simple as it is, I'll like to see you attempt it. Lets do it!

Twitter: @iamwebwiz WhatsApp: 08132690608

Saturday, 18 June 2016

Basic HTML5 Page Structure

wp-ss-20160616-0001.png
• Basic HTML5 Structure
• Photo Source — SoloLearn App

In the image above is the basic structure of how HTML5 web pages look like.

Ask questions. :-D

» WhatsApp — 08132690608
» Twitter — @iamwebwiz