₦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 ... 37 38 39 40 41 42 43 44 45 (of 54 pages)

BusinessRe: Making Regular Income Publishing Amazon Kindle Ebooks by Appliedmaths(m): 2:48pm On Dec 22, 2013
My reports is not too encouraging. I started with one of the most difficult niche(christian books) and so far so good I have two books with 54 and 59 free downloads, but still no sales.

The book that had 16 downloads later ended up at 54.

Working on my normal fiction and non-fiction, I'm pretty positive about this niche.

Although I used the two christian books to test run the kindle program, but truth be told I didn't plan to be a flop.

Not really discouraged, when I drop my two new books (fiction and non-fiction) then I'll really know what lies in for me.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 2:35pm On Dec 22, 2013
chaloner: Ans1: document.getElementById() ans2: document.write(). Thank God I'm learning..... Bliv me I will be d new SP here
Anything is possible man. Classes continues soon.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:52am On Dec 22, 2013
Neduzze5: Okay, I have a question to ask but I think it is too early. Make I wait small. Please ride on bro...!!
Classes continue tonight by God's grace. Ask your questions my guy. As we progress we would trash them out. No reason others, I'm sure they're observing the matter. BTW hope you've tried the rest codes and they'll worked.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:35pm On Dec 21, 2013
Neduzze5: Should I put the link of the js file in between the script tags? And what's the main function of the code I inputed earlier on in my external JavaScript file? No vex for my too much questions oh. If I fit overcome this first hurdle, the others won't be too hard for me. Thanks
The alert() function is to "alert the viewer of the web page, so that he can perform certain functions" Forget about the meaning of the alert function for now, we go still reach there.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:33pm On Dec 21, 2013
Neduzze5: Should I put the link of the js file in between the script tags? And what's the main function of the code I inputed earlier on in my external JavaScript file? No vex for my too much questions oh. If I fit overcome this first hurdle, the others won't be too hard for me. Thanks
Create a js file in your notepad++

Save it as myScript.js

Inside the myScript.js

Type: alert("Hello world" ) ;

Then save it.

Now open a new HTML file.

Put th necessary doctype,head and title tags.

In the head section type

<script src= "myScript.js " >< /script>

Save the HTML file as Java.html

Open your web browser and locate java.html file. "Ctrl + O should do the trick"

Once you load the java.html page you would see a pop up telling you "Hello world."

That's it.

Read carefully, this should work.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 1:55pm On Dec 21, 2013
[quote author=Iam_Godzilla]Well if you want to learn javascript and your not catching up well with the tutorials on here.

I feel a good place to start is http://w3schools.com
or http://quackit.com

It gives you an option to test the codes, as well you can easily understand.[/quote]No wonder they say: "Man pass man." Good luck on your w3school adventure. cool
EducationRe: University Of Benin Students (undergraduate/graduate) Chatroom by Appliedmaths(m): 12:42pm On Dec 21, 2013
Ghyft: Neva go firstis dis time table for realhuhis dis time table for realhuh
This is the 1st calendar after ASUU called of the strike. Knowing UNIBEN too well, they may adjust it a little bit. But bear it in mind that your clearance comes up February.

Abi you wan do clearance when the current 100L never write 2nd sem exams ni? So you'll have to wait, till the 2nd sem exams are over before your clearance begins.

You need to see how men dey jack now grin including my self. #No dulling, I nor get money to block anybody.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:30pm On Dec 21, 2013
Neduzze5: No changes oh embarassed
Calm down. First of all link the external js file with the HTML page typing

<script src= "myScript.js " >< /script>
In the head section of your HTML coding page.

To test the external js file, type

alert("Hello world" ) ; in your external js coding page.

Go to your web browser and reload the HTML page you linked the js file with.

If the link was properly done, you'll get a pop up saying "Hello world" . If the link isn't correct nothing would show.

After this is done, you can now start manipulating
HTML using js with the document() functions.
EducationRe: University Of Benin Students (undergraduate/graduate) Chatroom by Appliedmaths(m): 12:13pm On Dec 21, 2013
Na ghyft comment wey I c carry me come here *LOL*

Send me a PM for more info, or join our page on facebook for more info and questions.

STUDENTS UNION GOVERNMENT (UNIBEN)

#I'm out.
EducationRe: University Of Benin Students (undergraduate/graduate) Chatroom by Appliedmaths(m): 12:09pm On Dec 21, 2013
Ghyft: seconded!!!
Hope you guys have seen the amended calendar.

1. Friday 3rd January 2014,
Arrival of returning
students.
2. Monday 6th January 2014
to Friday 10th
January2014Lectures/
Revision.
3. Monday 13th January
2014- Friday 17th January
2014 Exams for Faculty of
Education.
4. Monday 20th January 2014
– Friday 24th January2014
GST Exams.
5. Monday 27th Friday –
Friday February 14th
2014 Exams For all
Faculties.
6. Saturday February 15th –
Friday February 28 2014
Two (2) Weeks Break.
7. Monday 17th February –
Friday February 28 2014
Arrival/Clearance
Orientation/Registration
for Fresh Students.
8. Thursday 27th February
2014 Senate Meets to
Consider Results.

Monday 17th February, clerance begins for freshers. #
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m):
Neduzze5: What you mean here u that we'll just copy the code above, put it into our .js external file and then link to our HTML codes? That's ithuh?
My guy that's it oooo! grin That's all the technical jargons we have been discussing since.

The

document.getElementById
("demo" ) .innerHTML="My
First JavaScript " ;

is the js code so it goes to the js external coding page. It's like the CSS external style sheet, where the CSS codes are used to complement the HTML codes.

Oya go and try out the codes and give us your feedbacks.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:08am On Dec 21, 2013
In this example.

<!DOCTYPE html>
<html>
<body>
<h1>My First Web
Page</h1>
<p id="demo " >My First
Paragraph</p>

<script>
document.getElementById
("demo" ) .innerHTML="My
First JavaScript " ;
</script>
</body>
</html>

The js is coded in the HTML page. Observe closely that the js is complementing the HTML paragraph (I'd) element.

Now to use the external js pattern on the example above. We move


document.getElementById
("demo" ) .innerHTML="My First JavaScript " ;


To our external js page let's call it myScript.js and that's all.

So when you link, both the Js page and the HTML page all the codes would function properly.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:55am On Dec 21, 2013
Neduzze5: Oga no think am like that oh. Most of us still dey read the beginning of JS. I don read am like four times now yet I never understand shi shi but make I still read am again. Also the major probs I have is the external js method cos I don't even plan to use the internal styling method. Just elaborate more and give real examples so that we can understand better. Thanks Boss!
That's the reason why I didn't want to take the next topic, I don't want to pile up the whole thing knowing very well that Js is a new language to most people.

The external js is saved with the file extension .js

Example: myScript.js

Now instead of typing your Js codes in the HTML coding page, you now move all your js codes to the external myScript.js coding page in your notepad+.

Test: To test if the external js file is properly linked. Type in the alert function in the myScript.js coding page in your notepad+ like this:

alert("Hello world" ) ;

When you load the HTML page, a pop up would appear telling you "Hello world."

TIP 1: You are linking the external js file with the HTML page. Hope you know how to do that?

TIP 2: Js codes using the external scripting sheet would not need the "script" tag anymore. Don't code in the external js file like this:

<script>
alert("My First JavaScript" ) ;
</script>

INSTEAD: Code in the external js file like this,

alert("My First JavaScript" ) ;

END-NOTE: Insert the alert function in the external js page, then link it with the HTML page to confirm that your js and HTML page are now linked and you are ready to go.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:43am On Dec 21, 2013
I was here to continue the class. Students didn't turn up for class. And moreover, no feedbacks nor questions yet. #Observing
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:28pm On Dec 19, 2013
sunday478: ok, me think say u don leave finally finally!
It wouldn't be easy to leave this thread, I started my web design and development journey from this thread, and is still learning. So it's an honor to give back the little I can. No worry bros! I go try dey show face once once.

@Iyenimofe. Boss I'm just keeping the flag flying.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:17pm On Dec 19, 2013
Another TWO very Important Js functions are

document.getElementById() VS document.write()

The first is used to manipulate an HTML tag by entering into the tag and changing it's element.

Example:

<!DOCTYPE html>
<html>
<body>
<h1>My First Web Page</h1>
<p id="demo " >My First
Paragraph</p>
<script>
document.getElementById
("demo" ) .innerHTML="My
First JavaScript" ;
</script>
</body>
</html>

In the above example, document.getElementById as it means got the paragraph element by its I'd and placed "My First Js" as the new message.

WHILE

document.write() is used to manipulate the entire document.

Example:

<!DOCTYPE html>
<html>
<body>
<h1>My First Web Page</h1>
<script>
document.write("<p>My First JavaScript</
p>" ) ;
</script>
</body>
</html>

Warning: Do not interchange them.

Q1: What is the correct function to use when you want to manipulate an HTML element by its I'd?

Q2: what's the correct function to use when you want to manipulate an HTML document directly?

Oya abeg, make una confirm all the syntax and drop feedbacks then we move forward. Also drop questions, we have enough teachers in the house.

TIP: Js has so many uses, it depends on the intelligence of the webmaster to effectively apply Js to his work, that's were the saying: "man pass man" come to play.
So for now don't bother your self on its application, just focus on learning the language first then after that, use your intelligence to apply it anywhere you want.

See you guys tomorrow Night by God's grace I'm out. *Make I go jack small* cool
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:36pm On Dec 19, 2013
Js can be placed in either the head, or body sections in our HTML code. All you need do is to use the "script tag"

Also we have External Js just like external CSS
. In this case I don't advice you to use an external Js, I would give my reasons later when we approach the use of Js Functions properly.

Scripts can also be placed in external files.
External files often contain code to be used
by several different web pages.

External Js files have the file
extension .js

To use an external script, point to the .js file
in the "src" attribute of the <script> tag:

<!DOCTYPEhtml>
<html>
<body>
<script src= "myScript.js" > </script>
</body>
</html>

NB: myScript.js is the external file where all your Js codes are in.

Example: You can build a form using pure HTML and validate that same form using Js through the external page, so you don't need to write your js codes on your HTML page but rather in the external .js file.

NB: You can place the script in the <head> or
<body> as you like. The script will behave as
if it was located exactly where you put the
<script> tag in the document.

Very Important: The external scripts cannot contain <script>
tags. That is to say inside the .js external page don't use "script tags" anymore as if you are coding Js syntax on an HTML page, just continue coding the js syntax on the external js page like that.
Ex: alert("welcome" ) ; and that's all.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:30pm On Dec 19, 2013
@wise my surest guy,you dey wash your guy abi. Na u go tak regExp so get ready.

ADVICE: It may get to a point and you'll begin to wonder of what use is Js to you in the 1st place. As for now, just keep calm and learn the language properly you might be surprised how vast this little js is.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:08pm On Dec 19, 2013
Js in HTML must be inserted between <script> and </script> tags.
Js can be put in the <body> and in
the <head> section of an HTML page.

To insert a Js into an HTML page, use the <script> tag. The <script> and </script> tells where the Js starts and ends.
The lines between the <script> and </
script> contain the JS:<script>alert("My First JavaScript" ) ; </script>

NB: You don't have to understand the code above. Just take it for a fact, that the
browser will interpret and execute the
Js code between the <script> and <script> tags.
The above code is called the alert Function, we'll get there so relax.

NB: We would be operating on an HTML 5 level, so that's a double plus. The example below allows you write directly on your web page with Js without using HTML.

<!DOCTYPE html>
<body>

<script>
document.write ("<h1>This is a heading</h1>" ) ;
document.write ("<p>This is a
paragraph</p>" ) ;
</script>

</body>
</html>

NB: Don't include the space after the closing bracket next to the semicolon, I only did it so that NL nor go turn am to emoticion.

When coding in Js always watch out for the semicolons ";" they are very useful in ending functions, if you fail to insert them the whole code may not function.

NB: Unlike HTML Js is a case sensitive language. "myFunction" is different from "myfunction", "getElementById" is different from "getelementbyid"

The correct syntax is myFunction and getElementById.

NB: When joining two words in Js the next word begins with a capital letter, faliure to do this your script wouldn't work on the web browser.

TIP: My user-name as a jS syntax would be written as "appliedMaths". because its a combination of two words, applied and Maths.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 8:49pm On Dec 19, 2013
INTRODUCTION TO JAVASCRIPT.

JavaScript is a client side Scripting Language. A scripting language is a lightweight programming language. By client side I simply mean the user of the web page that has Js running on it.
JavaScript is a programming code that can be inserted into HTML pages. JavaScript code can be executed by all
modern web browsers, in cases where Js is turned OFF by the user (client) for whatever reason, we solely depend on a Server side scripting language like PHP and co.

JavaScript and Java are two completely
different languages, in both concept and
design.
Java (invented by Sun) is a more complex
programming language in the same category as C. So hurray! Welcome aboard to the world of web programming.

NB: We would denote JavaScript with (Js). As the spirit leads me and also due to my tight schedule I'll be dropping notes at any given and un-given time so always stay tuned and drop questions.

My style of lecture is very interactive, I wouldn't move to the next topic if I don't get response from those following. When I drop codes please copy them and try them out then come here to give me feedbacks then I'll proceed. Class continues...
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 8:35pm On Dec 19, 2013
sunday478: Mr lecturer, Appliedmaths don dey prepare for exam oo, make we the see sha
Baba no worry I go try drop some useful Js notes. Js to commence anytime from NOW. Keep your Fingers CrosseD.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 2:17pm On Dec 17, 2013
Boy Coy Toy: Abeg guys I dy try some JavaScript codes, like button onclick if i put d function it wil display the button bt wen i click, the function will nt execute.... Dnt knw whyhuh Abeg o. Anser me b4 vacation o. I no fit wait til nx semester
Carefully re-check your codes, you may have missed something. E don do me b4, just calm down code the thing.

GUYS academics calls, so I wouldn't be available that much again. Make I go ready 4 january exams.
BusinessRe: Making Regular Income Publishing Amazon Kindle Ebooks by Appliedmaths(m): 3:51pm On Dec 14, 2013
@MK, sire my journey has began ooo. I had to change the cover of my book, they said it would take 24 hours before it'll change still waiting, although the new cover reflects on my dashboard already. BTW it's a christian book, the free promo download isn't encouraging @ all(16) in a day after I unpublished and republished the same book the same day to make little modifications. Currently working on my normal fiction and non-fiction +ASUU don almost call us back to school, Exam things. This is my kindle update.
BusinessRe: Making Regular Income Publishing Amazon Kindle Ebooks by Appliedmaths(m): 2:42am On Dec 12, 2013
Bestlyf: How comes my book is just 18 pages when its more than 4700 words. I just don't understand.
Same over here, but I'm not surprised though. I wrote 4,800 words and it produced 20 kindle pages. @MK, my 1st book just got published *gave it a 3days lending promo* Thanks man, would keep you posted.
PhonesRe: MTN 1k BBC And Customer Care Wahala. by Appliedmaths(op): 3:43pm On Dec 10, 2013
phiszo: Its 3GB
#Bless... THREAD CLOSED!
PhonesMTN 1k BBC And Customer Care Wahala. by Appliedmaths(op): 2:34pm On Dec 10, 2013
I wouldn't have opened this thread but the response I got today from an MTN customer care agent threw me off balance.

I called MTN customer care earlier today to ask about the size of the 1k BBC Plan. But to my surprise the agent told me that "she isn't authorized to release such information", *like seriously?* What are they hiding ni? huh

Guys one use the MB run moderm things that's all, so what's the fuss all about? If a whole customer care can't give me such info. then where do they expect me to get it from grin . Guys abeg if you get the info tell me oooo.
BusinessRe: Making Regular Income Publishing Amazon Kindle Ebooks by Appliedmaths(m): 1:02pm On Dec 10, 2013
@mk, i just uploaded my 1st book today. It's under review, but please how do the payments system work? i didn't select any payment system, and you said we shouldn't put any bank account. So how do i process the payment issue?
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 10:48am On Dec 10, 2013
brownlord: Go check your name, you dey among the student when we rusticate for this school already, mean while abeg if your ebook make sense abeg forward for me brownlord2flex@yahoo.com. The same problem me and you dey get, TIME, i even dey won ask if anybody get to sale self, cos i no dey get chance do anyfin..
Even if I get Ebook I no go sell for you. Bros take am easy be like you busy wella wella. The thing with most ebooks is that they use old syntax and I don't really buy that that's why I can't really recommend any ebook to anyone cuz d way I use my ebooks it's spiritual grin Anyways I was start Js V.soon. So just try get back.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 12:55am On Dec 10, 2013
Arlex: Pls help me.I did as applied maths instructed me but still yet it didn't show in my native browser
Since you're not using a pc, I don't think you can get the title of the page in your phones' web browser. So for now just continue coding in HTML, when you get a pc everything would balance.

@Everyone, how about we begin JavaScripthuh I need Head counts cool
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:46pm On Dec 08, 2013
Arlex: ok tnx i just download am now but wahala day o,i no understand the stuff atall.how i GO take no my doctype??abeg make una no vesse for Me o unto say i de derail this thread.abeg make una help me
You're not derailing the thread. From your image you didn't include your doctype, even if you did I'm not sure the web browser on your phone would be able to show you that. Make sure you use the HTML 5 doctype, it's the standard and latest on the web now. #Good Work, but when u get to css and Js hope you'll c other apps to help you do it on ur phone.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 9:14pm On Dec 08, 2013
omoelu1: how does not knowing JS translate to not being a web developer??
Guy hafa you nah? You wan tell me say u nor nor the over importance of JS to web development? A good web developer should cover all ends (server side , client side, database and any other one). That's why the saying goes: "man pass man." You can't know only PHP(server side) and tell me you're a web developer *thats poo*

NB: My point is anything you're doing, do it well. If you want to become a web developer study it all round and don't boy cot.
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by Appliedmaths(m): 7:38pm On Dec 08, 2013
[quote author=iam_Demigod]Lol people running away from js, tho I know nffn about PHP yet, javascript has bin helpful! For validating forms, adding videos and audios to html5 site..[/quote]I wonder oooo! Them go leave Js jump to PHP and them go still claim WEB developers. grin

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