This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Kjeld Schoonheim
almost 10 years

How do i learn?

I’ve been learning the javascript scripting but i don’t know if it actually sticks. Does this website even help in understanding javascript?

Answer 536352ca7c82ca3cab00006d

67 votes

Permalink

If one were ever to believe that desire is bad, or worse, evil, then one would never learn. Learning is the direct result of desire. All of the evolutionary behavior has demonstrated this. So the first prerequisite of learning is desire.

Advice: NEVER let anyone, meaning NO ONE, ever subvert your desire for knowledge.

Get that gear in place and the rest will follow. WANT to learn, and USE the available resources and you WILL learn.

points
Submitted by Roy
almost 10 years

22 comments

Francisco Jaime almost 10 years

yeh

Shahera shezadi almost 10 years

true

TheCodeMaster almost 10 years

Yeah( i did understand what you said but it sounds awesome)

Anonymous almost 10 years

says Sensei lol

AdityaSurve almost 10 years

well said ‘n’ nuff said

mercenarymusic almost 10 years

well said

gamax19 over 9 years

the true ward of learning well Spoken.

Nico Loubet over 9 years

Exactly You have to want it. The resources are here, its your decision to utilize them.

Nico Loubet over 9 years

Might i say i have learned a incredible amount of skills using Codecademy. For that i applaud you Codecademy.

nepalisuryodaya over 9 years

practice it many times, go over them like you love the codes, the amazing part about these tutorials are “‘they are completely free”. Imagine free stuffs in this corporate world? If it doesn’t stick, Make sure it sticks. This website is better than w3schools.com

23hayesov over 9 years

Thats right

textPlayer93702 over 9 years

what he said

michael.ld over 9 years

yeah

Emmanuel Lodge over 9 years

it sure does, I just finished learning Html/Css I love it, and i just started JS the syntax is different but its the same like any other, look at it this way once you have learned the syntax/rules properly everything will fall into place after that and implementing JS into whatever you want will be easy.

jbenitez over 9 years

Great answer Roy. I have been trying to learn in my spare time, and I have noticed that I am loving learning to code so I enrolled in a diploma program here in Canada. I will keep re-enforcing your advice, “NEVER let anyone, meaning NO ONE, ever subvert your desire for knowledge” cheers, joel

Roy over 9 years

Also, never let anyone convince you of what knowledge is. You decide. Always.

battledj about 9 years

of course it does because knowledge is power because of javascript I at 10 have an internship at a coding school

It does if you understand it and want to understand it:)

Seeplusplus23 almost 9 years

@battledj Lol, so at 10 you have an Internship, but you cannot use proper grammar. I’d expect a programmer like myself to pay attention to the syntax of all languages, even English.

Zeke Y almost 9 years

@Seeplusplus23 You shouldn’t have capitalized internship =)

justbeginning over 8 years

I see were they are coming from I am just starting and wish these lessons had some repetition exercises.They give 1 or 2 tries then its off the the next subject. I am stuck right now on conclusion part 1 exercise it tells me to Variable myColor and give it a string value yet I find no example of a var with string value. So i did var myColor = “blue”.length; and on line 2 console.log(myColor); I get 4 as the result but I get the oops myColor isn’t set to a string value. So i have been messing with it trying to figure out how a string value should look with a variable and no example.

Roy over 8 years

var myColor = “blue”; console.log(myColor); // blue console.log(myColor.length); // 4

Answer 53767ed87c82cac311000112

1 vote

Permalink

thats the very question i had when i started html/css but as i continued i realized that i just could remember it all. continue and try to think about what you are learning often that way you will remember it all.

points
Submitted by Love Nosa
almost 10 years

1 comments

Azm Monir Hossain over 9 years

i have a another idea. We can wrote every lesson in a notebook or any document.

Answer 537e545880ff33d8f90000bd

1 vote

Permalink

Believe me it sticks.

points
Submitted by Anonymous
almost 10 years

Answer 53c7b0d38c1cccb5f90011c8

1 vote

Permalink

Hello,

Do you have any tips for us beginners? What to do after completing the lesson in codecademy? Do you recommend some good video tutorial?

Thank you very much for your advice, it helps a lot.

Best regards from me and Serbia :)

points
Submitted by Norbert
over 9 years

3 comments

Roy over 9 years

The best tip I can offer is that if you are serious about programming or web development as a career, enroll in paid for certificate or diploma training. Don’t try to get a free education. Yes, self-study is a big part of the learning, but organized, compulsory curriculum that covers all (or most) of the bases cannot be replaced by Codecademy or any other.

Norbert over 9 years

Hello Roy, First of all thank you for answer. I’ve met plenty of people who are not educated in any of IT centar but they are very good with programing and web developing, and I just thought that you have some advice for home learning.

Roy over 9 years

I’ve never gone the video route, myself and prefer reading. That’s probably because I’m way older, and predate video learning so have never adopted it. A quick scour of Google on just about any terms will root out some video. This is not very organized though, and we can find ourselves segued into twelve different directions before we know it. Pick a topic, suss out some material, and stick with that topic until it hurts your brain. Then review it in a day or two to see how much of it is sticking. Jumping around the map is the hardest way to learn. Check out learnable. This is an off shoot of SitePoint, also a very good source of reading material for very little money if you join learnable. If I recall, 99 bucks will get you unlimited courses and reading material for a whole year.

Answer 540cbb9c52f863b0e1009878

1 vote

Permalink

I started JS two days ago and sometimes it was dificult to understand since I’m German. However I review things i thought i needed practice in and so on. If you look at your codes and the instructions intensly, you will see what function this and that has.

points
Submitted by Blooming_Flower
over 9 years

Answer 536a5c2f282ae3aceb000216

0 votes

Permalink

You spoke out of my mind Roy

points
Submitted by David
almost 10 years

3 comments

Kikirvelez almost 10 years

awesome profile pic dude

David almost 10 years

thanks

battledj about 9 years

how do you make those type of pics

Answer 53d72b0b9c4e9df79d000f47

0 votes

Permalink

I read a couple of the replies but if your wondering if it will stick then YES it can like someone said you just will out of pure passion will drive you to remember it all. But in my case It didn’t hurt me to learn the “HTML/CSS” then do the build a website thing then go and find other projects on the web. After that what I am currently doing is finding sites I find are simple enough to try to make, I only copy the images then try to code it basically in my own way then compare it to their source code. I also learn cool tricks this way. Good luck on your endeavors on this site and beyond!!

points
Submitted by dgonzales353
over 9 years

Answer 53fd0c8552f8631edc00030c

0 votes

Permalink

Is there any part of coding, or programming in general, that is not covered in codecademy? I don’t mean the topics but the details in, say, html and CSS

points
Submitted by Abdulla Alhalmy
over 9 years

Answer 54048670548c3522680043c1

0 votes

Permalink

I think the best answer is to practice and practice you will see some results if you apply things.

Example: After receiving the sit-works/examples by codecademy try some other give more cleverness to it you may want to add some more console logs or what ever you like. I tend to think of some things when I am learning JS and jquery. Go play with it,have fun playing with it never give up I also felt the same way :)

points
Submitted by Ehnoxx Iceal Gagan
over 9 years

1 comments

Warren LOGASURIYAN almost 9 years

hi

Answer 5432815c9c4e9d2ee700820c

0 votes

Permalink

Just keep at it, you will pick it up! I have no formal education whatsoever and i am ploughing my way through after a couple of weeks messing around with the code. if you are interested in it you will learn, it just takes time to sink in.

points
Submitted by thomasbird
over 9 years

Answer 54ac19dd9113cb6596001ee2

0 votes

Permalink

For HTML we use notepad,notepad++. But What is for JavaScript? I mean what software should i download to run the javasrcipt code.

points
Submitted by Sheraz Afridi
about 9 years

3 comments

Roy about 9 years

JavaScript is built into all or most web browsers. Nothing to purchase or download, unless you wish to test with different browsers; IE, Firefox, Chrome, Safari, Opera, etc. In fact, the only place we can run JavaScript is in a browser.

sethlhicks about 9 years

How do you run it in the browser?

ddannar1 about 9 years

Yes, I would like to know the answer to this as well!

Answer 54b6f55495e378ab2b000cf1

0 votes

Permalink

To run JavaScript in a browser, you first need to create an HTML document to support the script:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF=8">
<title>JavaScript Experiment</title>
</head>
<body>
<script>
    // JS code goes here
</script>
</html>

This is the basic environment. Now we have access to the Scripting Engine, which is built in to the browser, and without which our code cannot be run.

Assuming the script will be running in the console, we need first to open the HTML page (with script included) in a browser. Save the file with an .html extension, then click it to open. The screen will be blank, but that’s okay. We haven’t put anything that will render to the browser window. If the browser refuses to run script, allow it, then refresh the page, but not before opening the console. Now refresh. Your code should be running, now. Any errors will display in the console.

To run JS in the browser window involves a little more detail (and no console.log() statements, as they don’t get sent to the window, but to the console).

The first thing we must respect is valid HTML in our document. We don’t just send output to the window, but HTML marked up output in the form of paragraphs, list items, divisions, etc.

Old vanilla JS

document.write("<p>This is some content in a paragraph element.</p>");

Notice that the tags are part of the output string? This is because it is being inserted into the DOM, which then outputs the text only to the browser window. Inspect the element to see that it is indeed a paragraph in the DOM.

Newer vanilla JS

document.getElementById("content").innerHTML = "<p>This is some content in a paragraph element.</p>";

The above assumes an element in the existing HTML with attribute, id="content".

Newer JS, still,

document.querySelector("#content").appendChild("<p>This is some content in a paragraph element.</p>");

Again, with the same assumption as above. The element must exist to be matched, else nothing is appended to the document.

Then there is jQuery

$('#content').append("<p>This is some content in a paragraph element.</p>");

We’ve only just scratched the surface, so expect to do a lot of reading and practice. Study HTML, CSS and JavaScript (and even jQuery as you progress) almost in parallel so you gain mastery of the complete set. They are a set, which fact cannot be ignored.

points
Submitted by Roy
about 9 years

1 comments

Roy about 9 years

The script tag can be in either the HEAD, or at the END of the BODY. The latter allows all HTML to load first before the script does. Once script loads, it runs immediately unless it is deferred, or started with a window.onload() function.