Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 08:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Beginner]Javascript Tutorial Part 1

Discussion on [Beginner]Javascript Tutorial Part 1 within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
[I]Inquisitor's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 62
Received Thanks: 4
[Beginner]Javascript Tutorial Part 1

Hello Elite Pvpers, now i will teach you how to work with javascript. This tutorial is only for beginners there would be more parts...

Everytime when you want to add javscript code on your html website you must have

<script type="text/javscript">
</script>


Thosse 2 script types. Otherwise nothing is going to work, always when you want write some code, write it down the <script type>.

The javascript its not same like HTML or PHP you can't just write your text and done. The syntax is almost same like C

When you want to create .js file you don't need to write the script types because the file is already javascript

Always when you want to write text/numbers .etc your code must start with

document.write

That means you want to write something on the document.

It's not that all when you wrote the document.write you must put (); after it

document.write();

And to write in text your document.write must looks like this

document.write("Your text here");

And to write numbers your document write can be without ""

Example:
document.write(3213);

That only works for numbers, to write text you must have ""

*Note: You need Notepad++ to edit javascript better. You can use also notepad its not such a problem.

The javascript document.write works also when you want count something

For example

document.write(1+1);

And in the website will be 2

or

document.write(7*7);

In the web will be 49. But must be without "" otherwise wont work

Alright guys, thanks for reading this tutorial i hope helps for beginners.
The next part is coming after this tutorial and will be "How to working with variables and boxes"
[I]Inquisitor is offline  
Old 02/29/2012, 22:40   #2
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,426
Received Thanks: 1,888
I lol'd.
MoepMeep is offline  
Thanks
2 Users
Old 02/29/2012, 22:57   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 759
Received Thanks: 416
In meinen Augen pädagogisch völlig wertlos. Würde mich echt wundern, wenn das irgendjemand irgendwas bringen würde.

(... und ob es wirklich so viel Sinn macht, Tutorials in einer Sprache zu schreiben, die man nicht wirklich beherrscht, weiß ich auch nicht).
dowhile is offline  
Old 02/29/2012, 23:30   #4
 
[I]Inquisitor's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 62
Received Thanks: 4
Quote:
Originally Posted by MoepMeep View Post
I lol'd.
Cool for you.
[I]Inquisitor is offline  
Old 03/01/2012, 00:07   #5
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41364
Join Date: Jan 2010
Posts: 22,729
Received Thanks: 12,625
No offense, but I seriously doubt that this will help any beginner. You simply cannot beat down something as complex as this to a few sentences and then expect folks who have never heard of JS before to actually understand anything of what you just said.
It simply won't work that way, you got to start from scratch and actually explain each and every aspect in detail, even the things that might seem easy to you. Also, you need a proper structure, you cannot just jump from one topic to another around if you'd like your readers to get your point. And if your readers do not get your point, this is nothing but a major waste of time for both them and you.

If you'd like to see what an decent JS guide for beginners looks like, see .
Muddy Waters is offline  
Reply


Similar Threads Similar Threads
[CG] 3D Studio Max Beginner Tutorial I
03/29/2013 - Artist Tutorials - 23 Replies
Habe mal vor einiger Zeit ein Video Tutorial zu 3D Studio Max gemacht. Es werden die Basic vom Interface und im Modelling gezeigt. Von einer Box bis zu einem Schwert. Es ist der erste Teil einer Serie von Tutorials. Die Inhalte sind wie folgt geplannt: Einfürhung in das 3D Studio Max Interface.
[Beginner Tutorial] AutoIt3 Simple Process Closer
01/24/2008 - Tutorials - 0 Replies
Hello all, I was editing my script with comments for no real reson because I was bored and decided to comment every single part of the script so I can remember how everything works if I ever somehow lost my memory :D thus I decided I should upload my script to ElitePvpers because they're my 1 and only favorite forum that I ever use and maybe I can possibly help some AutoIt3 Noobies somehow with my little program. Why I Made This I use this everyday because I have to turn off my...
[DOWN] Beginner Tutorial
05/07/2006 - Artist Tutorials - 7 Replies
Dieses Tutorial ist ausschliesslich für absolute Anfänger geeignet ! Für etwas Fortgeschrittenere GFX'er ist dieses Tutorial wohl überflüssig, aber dennoch evt. ganz nett zu lesen. Leider zu groß um es zu posten und mein FTP ist im Eimer... Wenn ihn jemand hosten könnte, wär ich demjenigen sehr verbunden. ^^ http://rapidshare.de/files/17748583/tutobs...bsce ne.jpg.html Naja... ich bitte um Bewertungen + Karma Ups ^^
KalZen's Part-Tutorial
02/22/2006 - Artist Tutorials - 4 Replies
Kein Problem, das ist schnell erklärt - here u go: http://www.chaosworld.de/requested_tutorial.png Was nicht im Tutoiral drinn ist, sind die ganzen super-mega-1337-effekte die ohnehin schon eigene Tutorials brauchen und eh schon haben. Die "Kasenebene" passt du am besten mit einem der anderen hier rumschwirrenden Tutorials an. Den Text zu gestalten fällt in die Kategorie Grundwissen und schaffste sicher auch ohne Anleitung. Bleibt nur noch viel Erfolg zu wünschen ^^
[Ryzom] Beginner Tutorial
04/28/2004 - General Gaming Discussion - 0 Replies
© Tribal Beginners Guide Hallo zusammen Ich habe mir mal die Mühe gemacht und alle relevanten Informationen zusammengesammelt bzw. teilweise selbst erstellt. Ich werde den hieraus resultierten Beginners Guide regelmäßig updaten/erweitern. Zu finden sein wird er dann auf der Seite von Tarius http://www.ryzom-game.info.de. Zur Zeit steht er dort natürlich noch im Betaforum!!! Solltet Ihr inhaltliche Fehler finden oder Ergänzungen/Erweiterungen haben könnt Ihr sie mir gerne per Mail...



All times are GMT +2. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.