Learn to Code - Lesson 04 - Understanding Functions and Making a Guessing Game

preview_player
Показать описание
In our final fundamentals lesson, we're going to learn about functions and make a simple guessing game in JavaScript.

Be sure to check out all the lessons:
Рекомендации по теме
Комментарии
Автор

Perfect. Such a great guide for people who want to know how to use something that builds everything in our information age.

Viper
Автор

Coding languages are basically how a program is made. You can use many different languages to code. Basically the language just means the text you are typing, you don't have to set your computer to a certain coding language or anything like that. It's similar to languages you speak, you learn a certain one which is what you are best at but many people learn other languages too.

DekuPlatformer
Автор

this is quite handy - i did some stuff like finding syntax errors and all that ages ago but couldnt really remember much from not doing it for a few yesrs but shit is making a lot of points that i done previously "come to light" :) nice work ^^

karld
Автор

I've been looking for a place to begin learning java-script and programming in general. I've had a major issue with most tutorials, mostly because they teach in a very abstract form. here I can learn to work with it in a more hands on way and see the actual code doing stuff, It's so much easier to understand. thanks! =D

Only thing I miss is a direction towards where I can continue with this... I want tutorials and lessons in similar styles like this...

FlashySenap
Автор

I couldn't stop staring at that syntax error ("perfectNumer"). Cunning bit of editing when the window was behind the web browser, nicely caught ;)

liveoutdoors
Автор

Hello,
java script is basically a text like times new roman and things like that except it's a type that is recognized easily.
You just save it as a .html for this type of coding/scripting.
Hope I helped

flippintuna
Автор

Oh, I see. I looked it up a bit myself and am anxious to learn more about it. Thank for explaining a bit about it.

by differnet languages you mean different coding, not actually using different languages to code, right? not like spanish, english etc... (Hope that made sense lol)

AnoNeko
Автор

Yeah, I was just making an example. The language people code in is mostly preference although it seems that most people prefer C++ (Javascript is probably the easiest to learn though)

DekuPlatformer
Автор

I love eating the perfect amount of apples! :D

ricehasnolife
Автор

yup, keep main commands in english and everything will work :)

klettrain
Автор

Thank you for making this, great intro to coding. Only problem is I don't get a submit button, just two text input fields. Do I need to update my browser or java?

catland
Автор

Could you explain more to me about "Java Script Language"? Being completely serious here.

AnoNeko
Автор

Looks good except I think whatever you did might have caused your clock to go fast. At 6:30 it skips from 2:22:11pm to 2:23:31pm. Is this malware?

AAAXYZ
Автор

how did you even get that on the web page?

lifewithdylan
Автор

i did it, wohoo, well i did it about 5hours :D i know. but first i did it in my home language, so that did not work, then i started to translate in to english and it still did not work. my main problem was that i did not get any answer. seems that my problem was that i had "function" with F not f. will see, now i will start to re-translate :D

klettrain
Автор

Why Don't you make more, this is Helpful, im trying to make a game and its going pretty well, theres only 4 of us and theres a lot to do and I need to  get better at Coding and that... Like I ant make the main menu go to the damn game for god sakes, I have also watched some other youtube videos but some reason they did not wok or I have a new version or something Sorry for making it look like a lot bye saying that it looks like a lot and so on...plz make more vids man if(you want to){ I lear more } 

dentedfence
Автор

Use Ansi right? < As coding
But if i code stuff it only said this on my page :
 {rtf1}
Even if i removed it

woooowie
Автор

im on windows and his textmate looks far easier to read the code. I'm using notepad++ . it works and it just not as tidy and easy to read as this one? any versions like this for windows?

AidanXD
Автор

i had same problem, but i found that i used other language and that made this, second "input-type" has to be in english "submit"

klettrain
Автор

it worked perfecly but t get something that says Submit Query instead of just submit and i tried changing the name to something else but it sitll says submit querry any way to fix it?

adriansantos