₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,361 members, 8,449,924 topics. Date: Wednesday, 22 July 2026 at 01:56 PM

Toggle theme

Appliedmaths's Posts

Nairaland ForumAppliedmaths's ProfileAppliedmaths's Posts

1 2 3 4 5 6 7 8 ... 36 37 38 39 40 41 42 43 44 (of 54 pages)

Christianity EtcRe: Is It Right For A Church To Excommunicate An Erring Member? by Appliedmaths(m): 2:12pm On Dec 30, 2013
I am impressed with the response so far. The OP only told us one side of the story, few response has x-rayed the whole matter.

If she was warned before excommunication- No case to answer, but be praying for her.

If she wasn't warned before excommunication- Woe be unto the church for reducing the sheep instead of increasing.

Some people don't know how to correct others, that's where I think they missed it. At the early stage of the whole matter, she should have been corrected with love, prayers and counseling. Although I wasn't there, but I believe that if the lady was corrected with this technique things wouldn't have been this way.

Some people think they own the church. In my local church, a pastors wife(Good women leader) told a struggling youth that she would personally tell her husband not to baptize her because of her character. I had to step in the situation before things came down.

So the mode of correction matters, yes we want them to change but let us be cautious less we chase them to the world.

The essence of the church is to change men from their old dirty ways to new celestial beings.( Lol I nor be cele ooo grin)

So if the church rejects a sinner, where else would the sinner go?
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:19pm On Dec 29, 2013
Really glad I could insert the images.

@Chaloner LoLZ. I see your alert jare cool

@chiboy, all right man that's good.

We making progress...#Bless!
BusinessRe: Making Regular Income Publishing Amazon Kindle Ebooks by Appliedmaths(m): 4:16pm On Dec 29, 2013
Bestlyf: @Mk82. I just downloaded my transaction report November 2013 for my first book and discover that during the 2days period of free promotion Amazon sold more than 300 of my books at a price higher than what I set. But after the free promo was over, no more sales. \Right now my second seems to be making more sales for amazon than the free download I am getting. Doesn't it stand to reason that it is better not to promote your books at all or register with KDP select? Since it seems you lose money in the process.

I got this information from "Prior six weeks royalties" of my report page. Of what relevance is this report?
I think its better to use the countdown sales than the free give aways.

The price of my book on my dashboard is 0.99$(20 and 14 pages) but kindles sells is for 3.06$ in their store, no wonder I didn't have any sale.

They even use the same price for both books in the kindle store.

I'm registering another account and uploading two new books(in a nuch more selling category). And if the same problem pops up, then I'm out.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 1:53am On Dec 29, 2013
Okay Abeg make una digest this part. We are still at the beginning stage where everything is soft.

Our next topic is js Variables, I think this is where the heat begins to intensify.

Questions, contributions and feedbacks are highly needed.

But verily, verily I say unto you fear NOT.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 1:39am On Dec 29, 2013
I call this the END.

In this example we have totally prevented the whole code from execution(displaying in the web browser.)


<!DOCTYPE html>
<html>
<body>

<h1 id="myH1" ></h1>

<p id="myP" >< /p>

<script>

/*
document.getElementById("myH1" ).innerHTML="Welcome to my Homepage" ;
document.getElementById("myP" ).innerHTML="This is my first paragraph." ;
*/
</script>


</body>
</html>

I Reiterate: Nothing would show on your web page after coding this example. We have totally prevented the codes from working.

Sometime you may want to silent some codes knowing very well that you'll still insert them later. Coding on its own is stressful but to save yourself from further stress just use the comment syntax to prevent some codes for the mean time.

NB: Almost every computer language uses this same comment method.

Don't bother about the example below, we are almost there. Just learn how to use comments to make life easy for you.

Using Comments at the End of a Line.

In the following example the comment is
placed at the end of a code line:

<!DOCTYPE html>
<html>
<body>

<p id="myP" ></p>

<script>
var x=5; // declare x and assign the value 5 to it

var y=x+2; // declare y and assign the expression value x+2 to it

document.getElementById("myP " ).innerHTML=y // write the value of y to myP
</script>

</body>
</html>

Coding this example would give you a value of 7 in your web browser.

I purposely chipped in this last example. Fear not grin

ALERT: Before you upload your coded file online. Abeg delete your comments, so you don't make the work much more easy for some hackers grin and other people that wants to steal your codes. Make them sweat small. Hey! This is just my own idea sha! cool

Always keep the original codes with the comment in your library for future use. But remove the comments before uploading.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
This is where comment gets more Interesting.

Coding is an art and its like drawing a picture where you will make a lot of modifications and corrections.

You may delete a codeline and write it back again.

You may want to make a codeline inactive, making the web browser not able to execute it for certain reasons.

In such case we use:

Comments to Prevent
Execution.

In the following example the comment is
used to prevent the execution of one of the
codelines (can be suitable for debugging):

<!DOCTYPE html>
<html>
<body>

<h1 id="myH1" >< /h1>

<p id="myP" >< /p>

<script>

//document.getElementById("myH1" ).innerHTML="Welcome to my Homepage" ;

document.getElementById("myP" ).innerHTML="This is my first paragraph." ;
</script>


</body>
</html>

NB: In this example we have prevented ("myH1" ) from executing(displaying) in the web browser. But ("myP" ) would still be executed.

That is to say //document.getElementById("myH1" ).innerHTML="Welcome to my Homepage" ; has been prevented, and "Welcome to my Homepage" wouldn't show in the browser.

But document.getElementById("myP" ).innerHTML="This is my first paragraph." ; would still be executed, so you'll only see "This is my first paragraph" in your web browser.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 1:11am On Dec 29, 2013
Js Multi-Line Comments

Multi line comments start with /* and end
with */.

The following example uses a multi line
comment to explain the code:

<!DOCTYPE html>
<html>
<body>

<h1 id="myH1" ></h1>

<p id="myP" ></ p>

<script>

/*
The code below will write
to a heading and to a paragraph,
and will represent the start of
my homepage:
*/

document.getElementById("myH1 " ).innerHTML="Welcome to my Homepage";
document.getElementById("myP " ).innerHTML="This is my first paragraph." ;
</script>


</body>
</html>

NB: Again the comment isn't executed.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
JS comments can be used to make
the codes more readable.

JS Comments

Comments will not be executed by
JS. That is to say, the comment in a js file isn't a code that is to be executed by the web browser.

Comments can be added to explain the
Js codes, or to make the codes more
readable.

Single line comments start with //.

The following example uses single line
comments to explain the code:

<!DOCTYPE html>
<html>
<body>

<h1 id="myH1 " ></ h1 >

<p id="myP" ></ p>

<script>
// Write to a heading:
document.getElementById("myH1 " ).innerHTML="Welcome to my Homepage" ;

// Write to a paragraph:
document.getElementById("myP " ).innerHTML="This is my first paragraph." ;
</script>



</body>
</html>

In this example we have made life easier for us by using the comment. Whenever we revisit the code we quickly understand what we did there.

NB: Again I say that the comments aren't executed.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:42am On Dec 29, 2013
Now this is an internal js technique.

Notice that I used the script tag.

The example covers all what we have been saying since.

Code this and view it in your web browser.

Download and Zoom the image, you'll see the light. cool

Make una Go church oooo. See you sunday evening by God's grace.

WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:02am On Dec 29, 2013
I guess this would trash any further question on external js tech. We move forward...
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
In this image. Everything has been done. Load the html page and you get a pop up in your web browser saying "Hello world!"

Carefully watch how I linked the "external js.js" file in the head section of the HTML page.

I think this is where most people miss it.

And also DON'T include the script tag in the "external js.js" file.

#That's all.

WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 11:52pm On Dec 28, 2013
The image above shows you how to code using the eternal Js tech.

In that image notice that I didn't include the script tag.

I named that file "external js.js"
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 11:36pm On Dec 28, 2013
Classes continues...

WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:56pm On Dec 28, 2013
chiboy429: yeah fire on my Boss
I will only fire on when you have confirmed using the external .js. Coding technique. #Bless
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:53pm On Dec 28, 2013
ncpat: please I want to align my slide show and playlist to be on same level on my header.php theme please can some help me out below is the code i have presently and the result is at http://1010studio.com


<center><b><?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?></b><!-- Header right begin-->
<div style = "text-align:right; float:right; VALIGN=top>top right">
<b><?php
mp3j_put( '[mp3-jplayer tracks="DR. SID@http://1010studio.com/wp-content/uploads/2013/12/18-Surulere-Remix.mp3, JARMY AUSTIN@http://1010studio.com/wp-content/uploads/2013/12/Touch-Go-By-JARMY-AUSTIN-no-tag.mp3, TEN TEN FT. STECY `99@http://1010studio.com/wp-content/uploads/2013/12/E-WA-JO2.mp3" width="325px" height="115px" images="http://1010studio.com/wp-content/uploads/2013/12/suth100775.jpg, http://1010studio.com/wp-content/uploads/2013/12/OPEN-LESS10075.jpg, http://1010studio.com/wp-content/uploads/2013/12/postth.jpg" style="dark bars100 btransbars" pos="rel-C" dload="y" captions="Surulere;Touch and go;Ewa jo." list="y"]' );
?>';</b></center>
</div>
<!-- Header right end-->
BOSS, there's a thread in webmasters forum that specialize on PHP. Please forward your issue there, they have good hands there to trash your problem.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:50pm On Dec 28, 2013
chiboy429: Interesting ,Appliedmaths your ingenuity as coding and designing is concern is superbly obvious . Theres no atom of skepticism on that. Keep the ball rolling bc no wind can stop you.

I was astonished ,when this thread began , i recalled vividly well years back,that NIIT was just joking with me when i went to study this course with them ,i had to port to Aptech. That is by the way.

I tried using the external js file to code but wen i opened it ,it was blank what happed and again can we use both external js file and normal html page coding simultaneously ?
No sir! It's either you use the external .js coding technique or you use the internal .js coding technique which is included in the HTML coding page.

NB: When using the external .js coding tech. You don't include the script tag anymore, if you do the js codes wouldn't work.

Always properly link your scripts, that's another issue. We have trashed this.

Code in the external js page, link it with the HTML page. Then go to your web browser to load the HTML page. That's all.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 11:03am On Dec 28, 2013
Hope you guys are enjoying the Js so far. I need a go ahead in-order to continue the class...

Play with the codes and save them in your brains hard-disk.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:53am On Dec 28, 2013
chiboy429: Although the future potential of webdesigning and development cannot be under estimated because at present the its importance and need is conspicuous in every aspect of our livelihood. So anybody who is or intend to learn it should do it at best of interest and determination regardless of its difficulty.

@Appliedmaths,i want to ask ,sori if i may digress a little bit ,can js be used to enhance better SE0? and if yes how . But if no why?
You're thinking ahead and I like that. That's why I always encouraging coding.

No worry there's a quick and easy way get a solid SEO, google has already provided that for us. We would get there!

SEO is key, you don't want to build a website and have only 2 visitors in a month. Having a gmail account and adding little codes to your website shoots you live on google search.

YES, this same Js that you're seeing now can be used to pull down a site under 5mins (Hacking). But that's not our aim, after fully teaching Js, Jquery (simplified Js), php and mysql. Hopefully my boss iyenimofe would take PHP and MYSQL.

Building a site is one thing, and building a better security is another thing( very important).

We would learn how to hack our own sites( part of the security process) so we cover our loop holes before going public.

There are so many sites that can be pulled down under 2mins. I just look them dey laugh grin but I don't encourage destructive hacking.

There's a lot to learn, so sit tight. Web design and development is serious business.

The aim now is to learn how to first of all complete the process of building a web site from scratch to finish. Then we divert to Security.

Security would expose you to some other programming language like C, C#, so get prepared.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:46pm On Dec 27, 2013
worldofart: [b]how do i create my own web hosting, create my own website, with my phote or pc
There are two distinct ways on which you can create your website.

1) Natural coding. That's what this thread is all about.

2) The use of softwares like joomla, wordpress etc.

Web design and development is serious business, so do it on your pc.

Creating your own web hosting, is another large profiting venture. Google would help you on that.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 2:34am On Dec 27, 2013
Boy Coy Toy: I gt Questions o... But I qotta wait for JS functions, I just tire. JS is not like HTML and CSS at all. That's why many are complaining that appliedmaths is not detailing, but I tell you He's good, I just started understanding somethings about JS. I wish I can see you physically. Thumbs up
Baba send me PM I go see am, we go everly relate. That's D thing with Js, since its a new language, it still looks strange to the brain. Na small small.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:17pm On Dec 26, 2013
chiboy429: @Appliedmaths thank u very serious bros ,u ar just making Js codes easily chewable ,but please and please inject more examples and diagrams for easy assimilation
Na moderm things my guy. Maybe when I resume school I go see Wlan use.
PoliticsRe: Riot In Eket, Akwa Ibom State by Appliedmaths(m): 7:48pm On Dec 25, 2013
The report is true. I'm in Eket. The boys were doing their masquerade(ekpo) when they clashed with the police. One thing led to another and there we have it...

NB: I wasn't at the scene. Confirmed the gist from my tenant's friend and another lady.
WebmastersRe: How To Successfully Upgrade Mysql Of Wamp Server by Appliedmaths(m): 2:58pm On Dec 25, 2013
@(*dhtml) check your email abeg need your help. #Thanks
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:33pm On Dec 24, 2013
Now someone may be asking himself:

Why do I even need to manipulate an HTML element through its paragraph using Js?

Can't I just directly write what I want in the HTML paragraph and save myself all the stress?

Well the simple answer to this question is that, you're still at the beginning stage of js and the idea here is to learn how to manipulate(enter) elements (HTML and even CSS) with Js.

As the class proceeds, you'll see other important application of Js manipulation.

Digest all you can and ask questions class continues after I get a satisfactory feedback...
EducationRe: University Of Benin Students (undergraduate/graduate) Chatroom by Appliedmaths(m): 4:03am On Dec 24, 2013
@jazingold, nice 1 I was about doing the same. @ ghyft shebi u see what I told you earlier, they have amended the calendar again, both I'm pretty sure this is th final adjustment.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 4:00am On Dec 24, 2013
brownlord: KAI DEM DON PASS ME, APPLIEDMATHS WHY YOU NO PASS MY SIDE MAKE YOU CALL ME WHEN YOU DEY GO CLASS NOW?



ANYWAY THANKS AT HOD AND NEW LECTURER, MERRY XMAS YALL ALLTHOUGH THEM DON POSTPONE THE CHRISTMAS FOR MY SIDE WILL UPDATE AS SOON AS THEM RELEASE NEW DATE BY THEN I GO DECLARE FOR THIS THREAD FRONT PAGE
Baba nor mind me jare. As our class rep I go personally pause the lecture 4 some few hours cool make you scan the js things wella.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 2:46am On Dec 23, 2013
KNOW THIS.

White Space

Just like HTML Js also ignores extra spaces. You can add
white space to your script to make it more
readable.

If you noticed I've been adding white spaces to the js codes I've been writing here since we began this lecture.


Break up a Code Line

The need may arise to lap one text under another, if you don't want the whole statement to run on a straight line.

You can break up a code line within a text
string with a backslash.

The example below
will break the statement "Hello world!":

document.write("Hello
\
World!" ) ;

However, you cannot break up a code line
like this:

document.write\
("Hello World!" ) ;

END NOTE: Don't be in a hurry, please make sure you confirm and memorize all the codes given here.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
NOW PAY ATTENTION!!!

Js Code Blocks

Js statements can be grouped
together in blocks.

Blocks start with a left curly bracket, and end
with a right curly bracket.

The purpose of a block is to make the
sequence of statements execute together.

A good example of statements grouped
together in blocks, are Js functions.

This example will run a function that will
manipulate two HTML elements:

<!DOCTYPE html>
<html>
<body>

<h1>My Web Page</h1>

<p id="myPar " >I am a paragraph.</p>
<div id="myDiv " >I am a div.</div>

<p>

<button type="button" onclick="myFunction() " >Try it</button>
</p>

<script>
function myFunction()
{
document.getElementById("myPar " ).innerHTML="Hello World " ;
document.getElementById("myDiv " ).innerHTML="I am here";
}
</script>

<p>When you click on "Try it", the two elements will change.</p>

</body>
</html>

We introduced "function myFunction()" as a Block to pack the js codes together so they can function at the same time together.

The function myFunction() inside the script tag is complementing the other function myFunction() in the button tag.

NB: The js code used in the example above complements the HTML paragraph I'd and Division I'd.

The block is used to pack the Js codes only, we do not have any business in blocking the HTML codes.

Don't worry about the function myFunction() element it's a topic on its own. We will get there.

Q: Why do we use a block to pack js codes together?

Assingment: Try using the external js file on all the examples we have discussed so far.

HINT: create a new .js file, link it with the HTML page you want to use and code on.

Just digest this one, then we move forward. This is the foundation that's why I'm not rushing it.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
Js Statements

Js statements are "commands" to the browser. It's what you want the browser to do at that particular point in time.

The purpose of the statements is to tell the
browser what to do.

This Js statement tells the browser
to write "Hello World" inside an HTML element

with id="demo " :

document.getElementById
("demo" ). innerHTML= "Hello
World" ;

Semicolon ;

Semicolon separates JS statements. I have said this before.

Normally you add a semicolon at the end of
each executable statement.

Using semicolons also makes it possible to
write many statements on one line.

Js Code


Js code (or just Js) is a
sequence of Js statements. Which also means Js codes is a command to the browser.

Each statement is executed by the browser
in the sequence they are written.

This example will manipulate two HTML
elements:

<!DOCTYPE html>
<html>
<body>

<h1>My Web Page</h1>

<p id="demo " >A Paragraph.</p>

<div id="myDIV " >A DIV.</div>


<script>

document.getElementById("demo " ).innerHTML="Hello World" ;
document.getElementById("myDIV " ).innerHTML="I am here " ;

</script>

</body>
</html>

In the example above, the js codes are coded inside the body section of the HTML page. For those that like using the external js file for coding all you need to do is to extract the PURE js codes to your external js file, then you link it. We have treated this before.

Also in the example above we have manipulated two elements at the same time. You can manipulate as many as you please.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 7:23pm On Dec 22, 2013
Vstuffs: You did not wast any money,atleast you are able to design using a software,what of those who knows nothing,well as for me I through with html and css tutorial in nairaland,but in w3schools,I am just starting css,as for javasricpt,please bro @appliedmaths explain more,because the way @iyedimofe taught us html and css was really good,so please improve,anyway thanks for keeping the thread going........I love it www.vstuffs.
Every man has his own pattern, but if I may say I think my explanations are very detailed and broken down into bits. Just read through I'm sure you'll grasp the whole thing. We would still come to CSS3 and HTML 5, but I also encourage personal research. Read through my Js it's very simplified. Stay tuned man, class continue...
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 5:41pm On Dec 22, 2013
Breezy90: wow so you mean i have to go back and learn the coding aspect of it.....ah just wasted 30k for nothing sha.. angry..thanks bro
It depends on what you want, you may decide not to learn coding and stick to your softwares. Bit if you really know that you want to be outstanding as a web designer and developer, the coding is the next art for you.

Truth is, I would love to learn how to use those softwares too.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 3:50pm On Dec 22, 2013
Breezy90: hello house i am new here.i just finished my website design program and what i used was mainly dreamweaver fireworks switchmax and macromedia flash.i can design so much but the problem now is some pple do use code do i nid to learn those codings or i am gud to go wit dreamweaver.also i wil nid sum1 who i can attach wit and probably work wit.thanks
In as much as I respect your field of software enabled web design. As an ethical coder, its natural to say that you haven't started web designing at all. With a little scripting lang like Js your software enabled website would be pulled down between 5mins. I'm not saying all coded sites have strong security ooo. But coding makes you versatile, with the knowledge of js, php, mysql just to mention a few you can function as a programmer when the need arises.

So my advice to you is this. You have an upper edge, so complete yourself by learning the art of coding.

1 2 3 4 5 6 7 8 ... 36 37 38 39 40 41 42 43 44 (of 54 pages)