Learn JavaScript in 12 Minutes

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 2,6 тыс.

  • @muhammadsaad8531
    @muhammadsaad8531 8 лет назад +5076

    Advice, put the speed of the video to 2 and learn JavaScript in 6 Minutes.

    • @TW0man4RMY
      @TW0man4RMY 6 лет назад +51

      LOL

    • @jonathanmathew6060
      @jonathanmathew6060 6 лет назад +97

      capture video on 2x, reupload and watch the repost on 2x

    • @hamzawaleed
      @hamzawaleed 6 лет назад +79

      Install chrome extension for 3x,
      Thanks me now.

    • @jakubklos3438
      @jakubklos3438 6 лет назад +40

      And I was for spending 200$ for a javascript 6 months course....thanks !!! xD

    • @andreaaldrich4046
      @andreaaldrich4046 6 лет назад +10

      OMG. I am not kidding, I came here to type the exact same thing. I just put mine in 2X. Ha

  • @FluidFlyer
    @FluidFlyer 8 лет назад +1902

    Wow...I was pretty suspicious about a claim to "Learn JavaScript in 12 Minutes", but you actually did a really good job of explaining a ton of material in a short amount of time.

    • @JohananJoysingh
      @JohananJoysingh 8 лет назад +37

      i second that! :).. i was doubtful as well. Also i watched the video in 1.5x and it was amazing.. lol.. :D

    • @servantofchrist439
      @servantofchrist439 8 лет назад +1

      What application You use to code

    • @JohananJoysingh
      @JohananJoysingh 8 лет назад +14

      i think he is using Sublime Text... :) not sure though ... it must be

    • @seanfilyaw
      @seanfilyaw 8 лет назад +3

      note pad++

    • @user-ns1zp8wz2g
      @user-ns1zp8wz2g 8 лет назад +2

      It's sublime, it's what i use. I also use notepad++.

  • @AkhdanRasiq
    @AkhdanRasiq 5 лет назад +288

    Book : I teach you to understand JavaScript in 24 Hours
    Jake Wright : Hell No... I can do it in 12 Minutes

  • @dfusic
    @dfusic 5 лет назад +2153

    wtf i watched this and now i am full stack javascript developer at facebook??? thx

  • @RareTechniques
    @RareTechniques 5 лет назад +125

    1. // *Variables* (arithmetic)

    var *num1* = *5;*
    var *num2* = *3;*
    var *total* = num1 + num2;
    document.write(total);
    = 8 in browser
    2. // *Variables* (string/letters)

    var *alpha* = "ABCDEFG";
    var *length* = alpha.length;
    document.write(length);
    = 7 in browser (length of string aka amount of letters)
    3. // *Arrays* (first, tedious method)
    var a = *new* *Array* *[7]*
    a[0] = "cat";
    a[1] = "dog";
    a[2] = 95;
    a[6] = "true";
    document.write(a[6]);
    = "true" in browser

    4. // *Arrays* (fastest method)
    var a = *["cat", "dog", 95, true];* document.write(a[0]);

    5. // *Functions*

    (INSIDE ) *function sayHello(who)* { document.write("Hello, " + who);
    (OUTSIDE ) sayHello("Bob"); document.write("");
    = "Hello, Bob" in browser

    6. // *Conditional* ; if

    var a = 7; *if* (a > 10) { alert(a);
    } *else* { alert("The condition was false"); }

    7. // *Conditional Loop* ; For()
    for (i=0; i

    • @darkunicorn8450
      @darkunicorn8450 5 лет назад +9

      I like the dedication in this comment

    • @krishnaverma4728
      @krishnaverma4728 5 лет назад +2

      Now you can jump to a js framework ....

    • @13osko
      @13osko 5 лет назад +6

      sorry I only speak c++

    • @bfdmod
      @bfdmod 5 лет назад +2

      The crazy part he reran the whole video in one go no edits, gg

    • @尹艳-i4s
      @尹艳-i4s 5 лет назад +1

      thank you

  • @2TheAbbeyClinic
    @2TheAbbeyClinic 6 лет назад +15

    Man, you were not kidding, you DID cover the essence of coding in JS. As a raw beginner, I already feel like I am up and running in the language. Thank you!

  • @christopherbrinkley7237
    @christopherbrinkley7237 6 лет назад +38

    In all honesty, you've actually explained it better than 2 weeks of my online class.

  • @shashikanthp3145
    @shashikanthp3145 5 лет назад +8

    For someone who's already familiar with programming concepts, trying to go through every thing in the book when learning a new language is soo boring and often I give up... But videos like these are gold mine for me, which teach exactly what's enough !!!
    Thanks a lot mate !!!

  • @balaw1980
    @balaw1980 2 года назад +3

    This has been around awhile, so you probably don't read your comments anymore, but in case you do... Thanks for such a clear, simple, and complete intro to JS. It was exactly what I was looking for.

  • @shamo4895
    @shamo4895 5 лет назад +1427

    Knows you can’t learn js in 12 minutes clicks any way. 🙃

    • @EverlyScott
      @EverlyScott 5 лет назад +68

      I mean, you actually can... I learned the basics of js and css in a couple minutes each, yeah I didn’t know everything you could do, but i knew quite a lot for a couple mins

    • @if6532
      @if6532 5 лет назад +112

      @@EverlyScott Sorry bro ,but you know absolutly nothing about js and css if all you did was watch videos for a couple of minutes

    • @EverlyScott
      @EverlyScott 5 лет назад +15

      I F I didn’t watch videos, I self learned it... I searched up if you could do it if I didn’t know how and I learned a lot in a couple minutes

    • @TehBluPanda
      @TehBluPanda 5 лет назад +3

      Yeah, I don't really know what I was expecting...

    • @EverlyScott
      @EverlyScott 5 лет назад +8

      Yoo Hoo nah, just learning for fun

  • @evindrews
    @evindrews 5 лет назад +35

    I love tutorials like this. Often, courses start with a long winded, slow introduction covering the basics that takes sometimes hours. I find however the best way to learn is by doing, especially with simple concepts, and a lot of the times it can just be learned as you work on more complicated uses.

  • @engageintellect
    @engageintellect 4 года назад +15

    It’s crazy how watching this a year ago I would have been lost. Now after learning python, go, and a little C I was able to understand everything shown here... I guess people like me are precisely who these videos are for.
    Loved your 12 minute go variable. Would like to see one in C/C++ or Java as well.

    • @akashbharadwaj1
      @akashbharadwaj1 2 года назад +2

      ikr... knowing python makes me comfortable in learning whats going on.... starting with an easy language is imporant... where are you now in learning all this?

  • @raknos13
    @raknos13 5 лет назад +278

    This shit is legit, I watched this and now I'm a full stack developer at Facebook. Thanks so much dude

    • @daniellazenberry9402
      @daniellazenberry9402 5 лет назад +7

      lmao he needs to cash out on Udemy with this video

    • @mrman8152
      @mrman8152 5 лет назад +13

      This is a repost

    • @rakinrahman890
      @rakinrahman890 5 лет назад

      Lol

    • @274pacific
      @274pacific 5 лет назад +10

      I to can copy the top comment from 2 month prior.

    • @raknos13
      @raknos13 5 лет назад

      @@274pacific Why so salty? I saw the potential in the comment and phrased it better

  • @rondes4754
    @rondes4754 2 года назад +2

    I know I'm late to the party, but I want to thank you, I watched your html and css videos, then I started learning Javascript with this video, I even bought the same book on ebay, let me tell you I never did any programming and web development before, and I'm glad I'm learning thanks to people like you, who share their knowledge with others, thanks a lot.

    • @rondes4754
      @rondes4754 2 года назад

      @Bridget S Awesome, thanks a lot.

  • @playerzer0876
    @playerzer0876 4 года назад +75

    Game Developers: This game has 24 hours of Gameplay.
    Speed-runners:

  • @ohtych1004
    @ohtych1004 5 лет назад +478

    Instructions unclear: being chased by an AI robot I created

  • @mikel7574
    @mikel7574 5 лет назад +114

    This guy literally taught everything my introduction to software engineering class taught in one semester in 12 mins.. I was worried about passing the exam but less worried now

    • @victorlotz3457
      @victorlotz3457 5 лет назад +32

      How in the world did you waste a whole semester learning basic JavaScript?

    • @Jaghusus.1
      @Jaghusus.1 5 лет назад +2

      This is me rn dude

    • @TechSupportDave
      @TechSupportDave 4 года назад

      @M B yeah. luckily we have moved on. now the teacher assumes everyone can do everything that is required of them, and nobody complains.
      That's how it should be everywhere.

    • @adamhostetler7873
      @adamhostetler7873 4 года назад +1

      I eat Cereal with Water how do I make a button object?

  • @stevem437
    @stevem437 3 года назад +3

    I'll be honest, as someone who had absolutely no knowledge about the language, but experience with others, this was amazing. I know it's 7 years later but your crash course taught me sooo much in a short amount of time.

    • @omwase
      @omwase 2 года назад

      this guy is no different from Bucky Roberts. #short video with broad coverage well explained.

  • @FluxleX
    @FluxleX 4 года назад +221

    started watching and damn in 13th minute google sent me email to hire me.

  • @jonkbox2009
    @jonkbox2009 4 года назад +1

    Twelve of the best minutes I've spent doing online training. Showed the language essentials and how to run it. Enough to get me started. THANKS.

  • @ezhilvelme8821
    @ezhilvelme8821 9 лет назад +592

    Can you make another video "Learn more JavaScript in 12 min", or maybe in 15min

    • @edlb
      @edlb 9 лет назад +27

      Yes. Please!

    • @leejarry2620
      @leejarry2620 9 лет назад +16

      ed b uh,,,,maybe in one year ,

    • @prateek9701
      @prateek9701 7 лет назад +1

      Excellent job pal!

    • @chees720
      @chees720 6 лет назад +12

      its been 2 years, whats up?

    • @popoticky-9152
      @popoticky-9152 6 лет назад +5

      4 years **

  • @Falcon-ux9ch
    @Falcon-ux9ch 4 года назад +104

    Why am I watching this, I do frontend web development for a living

  • @angledcoathanger
    @angledcoathanger 8 лет назад +297

    This was exactly what I needed. It may however be beneficial to some to put a disclaimer that some programming experience is requisite to understanding the content.

    • @anilmawji
      @anilmawji 8 лет назад +2

      Exactly what I was thinking. Some of the terminology used was not explained in the video.

    • @wrench2678
      @wrench2678 7 лет назад +6

      i know your comments are a year old and you probably figured it out but i spent 2 months learning the basics of javascript and coding and discovered lots of terminology , this video was the massive boost i needed to where i am now , in other words this is similar to school , sometimes you have to teach yourself

    • @ugoarmandopaniagua3257
      @ugoarmandopaniagua3257 7 лет назад +1

      Hentai404

    • @ugoarmandopaniagua3257
      @ugoarmandopaniagua3257 7 лет назад

      Anil Mawji

    • @lucky765
      @lucky765 7 лет назад

      Hentai404 oo

  • @cubemanpdx
    @cubemanpdx 5 лет назад +1

    This is exactly what I was looking for. I am a well versed programmer of a proprietary language, and what I was looking for was a very rapid overview of how to use variables, operators, arrays, properties, methods, custom functions, conditionals and loops, etc (the core of the language), so I could see how it differed from the language I was used to. No, I can't sit down and start writing JavaScript code today, simply from watching this video, but I now have a firm grasp of the fundamental features of the JavaScript language. Again, exactly what I was looking for.

  • @bovineox1111
    @bovineox1111 2 года назад +3

    Thanks for the video. For those watching, JS is not solely a client side language, it is a lightweight language that typically runs in the browser but it is not longer the sole place, things have moved a lot since 2014. JS is at the core of node and raw JS is good for Lambdas, particularly as the cold boot times are very low. It's also, very recently, the sole language supported by CloudFront functions that run at the very edge.

  • @rafiramzy7570
    @rafiramzy7570 5 лет назад +32

    I had a basic on c & php language, but not javascript yet. After i watch this video, damn man
    U good at teaching, very simple, and obvious. Thankyou

    • @ankitrawat659
      @ankitrawat659 4 года назад

      It's almost like php
      only differences i saw
      Js ------------------------- PHP
      document.write = echo
      var = $
      😂😂😂😂

  • @dymproductions
    @dymproductions 9 лет назад +15

    People expect to be able to watch this video and be experts at Java. This video is an excellent clarifier and even starter. And it's like maths, you can sit and watch videos all day but if you don't practice and experiment, you won't know a thing.

    • @hypnogri5457
      @hypnogri5457 6 лет назад +17

      dymproductions
      Java != Javascript

    • @randomtinypotatocried
      @randomtinypotatocried 6 лет назад

      *JavaScript

    • @okie9025
      @okie9025 5 лет назад +1

      Javascript is NOTHING like Java.
      They're COMPLETELY DIFFERENT languages

  • @ABeardedDad
    @ABeardedDad 5 лет назад +23

    This video has one of the best, clearest explanations of for loops I've seen anywhere.

  • @mariesandland1028
    @mariesandland1028 Год назад

    I missed my first javascript class last week and have spent about 4 hours watching various "learn javascript in an hour" videos and finished every one them as clueless as I started. Finally it's starting to make sense! Thank you! 🙌

  • @ayoutubechannel5630
    @ayoutubechannel5630 5 лет назад +151

    Useful for people who already know Javascript.

    • @ConsuelaPlaysRS
      @ConsuelaPlaysRS 4 года назад +6

      What, this video? No it's not lol - no one who is proficient with JavaScript will find this video useful because they already know the material; it's very beginner-friendly stuff.

    • @markalexisposadas6383
      @markalexisposadas6383 4 года назад +2

      @@ConsuelaPlaysRS useful

    • @dexterjettster8875
      @dexterjettster8875 4 года назад +5

      If you don't already know Javascript you have no idea what he is saying

    • @kylerowland1227
      @kylerowland1227 4 года назад

      Ado Sibalo as a very beginner who has never seen any JavaScript, I agree with you wholeheartedly.

    • @daviddavis
      @daviddavis 4 года назад +3

      @@dexterjettster8875 I just started coding. I understand what he means and what hes saying.

  • @kingofthenerds7925
    @kingofthenerds7925 6 лет назад +18

    Love the easy pace and the depth out into each part, it makes it so much easier to comprehend!

  • @PierrePutter
    @PierrePutter 5 лет назад +6

    As someone who has coded in many different languages all ready this is perfect.

    • @e-ben616
      @e-ben616 3 года назад

      As someone with a python background, I was only interested in learning how JavaScript varies from python and the tutorial was spot on

  • @abridgetool
    @abridgetool 4 года назад +49

    Last five Years : Literally Nothing
    2020 : Suddenly youtube is interested to teach me JS.

  • @asmanhudaykuliyev661
    @asmanhudaykuliyev661 2 года назад

    For someone like me, who already has experience in C++, this was really easy to understand, and it had a ton of information for 12 minutes. Narrating voice was distinctive and really satisfying to listen to. I absolutely enjoyed the video!

  • @priyankamukherjee2450
    @priyankamukherjee2450 3 года назад

    this much input in 12 minutes without any unnecessary talks seemed great. subscribed.

  • @gauravarya8952
    @gauravarya8952 7 лет назад +7

    Nice that you increased font size, reducing stress on your eyes. Thank you.

  • @zainaliamin3491
    @zainaliamin3491 5 лет назад +275

    Who is here, focusing more on Comments than Video?

  • @shruthi7000
    @shruthi7000 6 лет назад +10

    This is everything i need to know for my exam tomorrow. thanks a ton!

  • @nicholaskled8003
    @nicholaskled8003 6 лет назад

    You have the teacher inside you. You have the ability to transfer your knowledge. Just knowing isn't enough if you want to call your self teacher. And you got that element inside you. Thank you.

  • @ayushchaudhary2200
    @ayushchaudhary2200 3 года назад +1

    I have learned js from many places but, the way he explained made me understand every single line of code without any doubts.....Thanks Jake

  • @lucidot
    @lucidot 7 лет назад +5

    Jake, Thanks for this lesson in beginning JavaScript. It's amazing how quick and precise you condensed a text book chapters into this time frame.

  • @massimehrkhah607
    @massimehrkhah607 5 лет назад +15

    you explained it quite clearly. you make a good instructor. would be nice to put more short tutorials on youtube. thx.

  • @tylerreynolds7372
    @tylerreynolds7372 9 лет назад +13

    this tutorial is useful if you already have some background information. thanks !

  • @ast453000
    @ast453000 4 года назад

    This is very good because it is results-oriented teaching. He tells you the minimum you need to know to get a result. After you get the big picture, you can then go into the details. So many tutorials and teaching platforms don't get this. They start with the detail, so it takes forever before you can actually do something with your knowledge, by which time you've forgotten everything.

  • @supersoaker253
    @supersoaker253 6 лет назад

    I took multiple notes during class last week and could not piece together everything. This video gave me multiple “ohhh” and “uh huh” moments. Great video, you got yourself a new sub.

  • @TheDrewCrawford
    @TheDrewCrawford 9 лет назад +53

    You sir have increased my knowledge and for that I thank you. Very concise. Great job :D

  • @CodeSadhu
    @CodeSadhu 4 года назад +8

    This is exactly what I was searching for before starting off with React. Thanks! Great video!

    • @adytya
      @adytya 3 года назад

      I'm exactly in the same situation

  • @PaulnJenna
    @PaulnJenna 4 года назад +30

    "Learn JavaScript in 12 Minutes" - I've spent about 30 minutes reading the comments lol

  • @dustywhite2
    @dustywhite2 4 года назад +1

    Best 12 minutes spent all day. Working my way through someone else's *lonnnng* course and just needed a break.

  • @taynjae
    @taynjae 5 лет назад +1

    Very comprehensive video. I decided just today that I wanted to start learning JavaScript as it would help me become a biomedical engineer. This video was very easy to understand and I love that you put in the description the different application sites so I could download the necessary apps. Thanks for you help.

    • @iamfriedrich
      @iamfriedrich Год назад

      Am a biomed too...how does js related to boomed eng

  • @dremiq6670
    @dremiq6670 5 лет назад +28

    lol why did i watch a 7 hour tutorial when i coulda watched this

  • @DarkoLoq86
    @DarkoLoq86 8 лет назад +16

    Thank you, man, this kind of videos are really practical and useful.

  • @lynlee7675
    @lynlee7675 9 лет назад +14

    Nice!Learning should have been like this.

  • @ChickyBiccy
    @ChickyBiccy 4 года назад

    I started a coding course on Monday. Got a bit of the basics but I still struggle. This has helped a lot. Thank you.

  • @Its_saulbreh
    @Its_saulbreh 4 года назад

    I took an udemy course on coding and whatnot and the video solidified all the important parts of javascript for me, thanks!

  • @munozppk
    @munozppk 10 лет назад +4

    Speed of information is great for people who have previous programming experience definitely not for beginners.

    • @smilecorpers3120
      @smilecorpers3120 10 лет назад

      He was fast

    • @fabianvasquez3585
      @fabianvasquez3585 10 лет назад +10

      Even a beginner at programming surely must know how pause a youtube video though? ;-)

  • @web_dev-rl2ve
    @web_dev-rl2ve 6 лет назад +3

    Great video Jake. You have a fast way of explaining a lot of info. I already knew most of what you said but even total newbs probably came away with their heads full. JavaScript is a great language to learn as one of your firsts. Thanks and keep making great videos like this

  • @kavindurandika579
    @kavindurandika579 6 лет назад +3

    to comment
    great job brother

  • @TalsonHacks
    @TalsonHacks 4 года назад

    Obviously It isn’t a comprehensive vid, but the best tutorial for JavaScript ever on RUclips

  • @tomdzeri3590
    @tomdzeri3590 3 года назад +1

    So basically I learned more in 12 minutes here then I did in almost 45 days on free code academies online. Keep up the good work bro, this got me subbed

  • @TitaniumSteelGreatest
    @TitaniumSteelGreatest 5 лет назад +8

    Thanks brotha!

  • @joefagan9335
    @joefagan9335 4 года назад +3

    👏👏just exactly what I was looking for

  • @dtan13
    @dtan13 5 лет назад +226

    I accidentally learned it in 3 minutes
    Anyone same?

    • @purplishdreamish
      @purplishdreamish 5 лет назад +8

      Actually some time ago a friend asked me to add a thing to his Discord bot (written in node.js). I warned him that I had no experience with JS but proceeded nevertheless. For my surprise the language actually was so familiar that one or two Google searches after I had successfully written a bunch of (apparently still) working code on a language I had never saw a line of code before

    • @trywin9825
      @trywin9825 5 лет назад +3

      @@purplishdreamish That is what i call a good friend lol.

    • @ghostboyfriend8951
      @ghostboyfriend8951 3 года назад

      @@purplishdreamish SHSHAJDJND IM LEARNING THESE BASICS TO MAKE A DISCORD BOT AND I SEE THIS COMMENT LMAOOO

  • @Emptyheads.
    @Emptyheads. 2 года назад +1

    Jake, I admire your knowledge.

  • @cecilelebleu5984
    @cecilelebleu5984 6 лет назад

    Thank you! I've spent days browsing courses and none of them explains the bases as simply and straightforward as this video did. Now I can actually understand what's going on and continue with "the good stuff".

  • @13thxenos
    @13thxenos 5 лет назад +6

    This was a great video! And I'm amazed on how similar JS and Python are. Especially lists and arrays.

  • @SnoopyThe4th
    @SnoopyThe4th 7 лет назад +6

    Amazing video, so concise, so clear, incredibly useful. Many thanks!

  • @andreimartincua1905
    @andreimartincua1905 6 лет назад +3

    A glimpse of what JAVA Script looks like.

  • @anon5788
    @anon5788 5 лет назад

    I am not exaggerating when I am saying that I just want to be like you at teaching. Also you actually saved my life. Thanks

  • @tushariche9802
    @tushariche9802 4 года назад

    It wasn't Full JavaScript but still you covered much in 12 mins ..
    Appreciated 👏🏻👏🏻

  • @ResanChea
    @ResanChea 5 лет назад +3

    This was pretty nice to follow

  • @exxotic_reaper2230
    @exxotic_reaper2230 5 лет назад +3

    This is amazing
    You did very good so...
    I want to congratulate you for helping us with Javascript! :D
    if(comment includes "Thanks")
    print("Your Welcome!")

    • @numbkaiya8611
      @numbkaiya8611 5 лет назад

      you don't need "var" behind "if", because an if statement is not a variable.

    • @ngreat4390
      @ngreat4390 5 лет назад

      Poondatheoriginal is script tag used for a variable?

  • @cadamstech1658
    @cadamstech1658 9 лет назад +5

    Hey Jake, which program do you use for editing photos? I really like the way your website looks, and was curious as to which technologies you used to create it other than HTML, CSS, and JavaScript? I just know basic HTML, CSS, and Python at the moment..and I'm looking to learn more to improve my skills.

    • @jakewrightnet
      @jakewrightnet  9 лет назад +17

      Christopher Adams I use Photoshop although I don't really know what I'm doing with it and don't do anything particularly advanced. My website uses a bit of PHP for the template but tbh I could have done without it and just complied static pages. Everything else is just HTML, CSS and Javascript (using jQuery).

    • @cadamstech1658
      @cadamstech1658 9 лет назад +1

      Nice man! Thanks for the insight.

    • @JohnCena-mw3ek
      @JohnCena-mw3ek 8 лет назад +2

      +Jake Wright Fuck off jake

    • @kiba8457
      @kiba8457 8 лет назад +11

      +John Cena i don't know why i laughed at this

    • @johndeckard6592
      @johndeckard6592 8 лет назад

      I saw your movie.. it sucked.

  • @sterlingday6362
    @sterlingday6362 4 года назад

    Been taking a class for a few months and already learned everything for the semester in this video. Thanks!

  • @filostroud157
    @filostroud157 5 лет назад

    You are a genius. I thought Javascript was gonna be so difficult and you've just explained perfectly. Life saver, brilliant job

  • @evrlstMUSIC
    @evrlstMUSIC 8 лет назад +12

    confirm("A wild Pikachu appeared! Charmander, I chose you!");
    var myTotalDamage = 0;
    var myDamageLeft = 50;
    var totalDamage = 0;
    var damageLeft = 30;
    var potionCount = 3;
    var pokeballCount = 5;
    var damageCounter = function() {
    if (totalDamage >= 30) {
    confirm("Pikachu fainted!");
    }
    else {
    pikachuAttack();
    }
    };
    var myDamageCounter = function() {
    if (myTotalDamage >= 50) {
    confirm("Charmander fainted! You flee to a Pokemon Center.");
    }
    else {
    pokemonBattle();
    }
    };
    var pikachuAttackDamage = function(damage) {
    myTotalDamage += damage;
    if (damage 0.1) {
    charmanderAttackDamage(5);
    }
    else {
    confirm("Charmander missed!");
    pikachuAttack();
    }
    break;
    case 'EMBER':
    var emberAttack = Math.random();
    if (emberAttack > 0.25) {
    charmanderAttackDamage(10);
    }
    else {
    confirm("Charmander missed!");
    pikachuAttack();
    }
    break;
    case "FLAME THROWER":
    var flameThrowerAttack = Math.random();
    if (flameThrowerAttack > 0.5) {
    charmanderAttackDamage(20);
    }
    else {
    confirm("Charmander missed!");
    pikachuAttack();
    }
    break;
    default:
    confirm("That is not an attack! Please select TACKLE, QUICK ATTACK, EMBER, or FLAME THROWER!");
    pokemonBattle();
    break;
    }
    break;
    case 'BAG':
    var bagChoice = prompt("Use POKEBALL or POTION?").toUpperCase();
    switch(bagChoice) {
    case 'POKEBALL':
    if (pokeballCount > 0) {
    confirm("Use a POKEBALL?");
    var catchChance = totalDamage * 10 * Math.random();
    if (catchChance >= 50) {
    confirm("Success! Pikachu has been caught!");
    confirm("Pikachu's data has been added to the Pokedex.")
    }
    else {
    confirm("Oh no! Pikachu broke free!");
    pikachuAttack();
    }
    pokeballCount = pokeballCount - 1;
    }
    else {
    confirm("You ran out of POKEBALLS!");
    pokemonBattle();
    }
    break;
    case 'POTION':
    if (potionCount > 0) {
    confirm("Use a POTION?");
    if (myDamageLeft = 0.33) {
    confirm("You have escaped!");
    }
    else {
    confirm("You cannot escape!");
    pikachuAttack();
    }
    break;
    case 'VIEW STATS':
    var statChoice = prompt("View BAG ITEMS, MOVES, MY HP, or OPPONENT HP?").toUpperCase();
    switch(statChoice) {
    case 'BAG ITEMS':
    confirm("POKEBALLS: " + pokeballCount + "
    POTIONS: " + potionCount);
    pokemonBattle();
    break;
    case 'MOVES':
    confirm("TACKLE - Damage: 10 Accuracy: 75%
    QUICK ATTACK - Damage: 5 Accuracy: 90%
    EMBER - Damage: 10 Accuracy: 75%
    FLAMETHROWER - Damage: 20 Accuracy: 50%");
    pokemonBattle();
    break;
    case 'MY HP':
    confirm(myDamageLeft);
    pokemonBattle();
    break;
    case 'OPPONENT HP':
    confirm(damageLeft);
    pokemonBattle();
    break;
    default:
    confirm("That is not an option. Please select MOVES, MY HP, or OPPONENT HP.")
    pokemonBattle();
    break;
    }
    break;
    default:
    confirm("That is not an option! Please select ATTACK, BAG, FLEE, or VIEW STATS!");
    pokemonBattle();
    break;
    }
    };
    var pikachuAttack = function() {
    var pikachuMove = Math.random();
    if (pikachuMove 0.25) {
    pikachuAttackDamage(10);
    }
    else {
    confirm("Pikachu missed!");
    pokemonBattle();
    }
    }
    else if (0.25 < pikachuMove 0.1) {
    pikachuAttackDamage(5);
    }
    else {
    confirm("Pikachu missed!");
    pokemonBattle();
    }
    }
    else if (0.5 < pikachuMove 0.25) {
    pikachuAttackDamage(10);
    }
    else {
    confirm("Pikachu missed!");
    pokemonBattle();
    }
    }
    else {
    confirm("Pikachu uses VOLT TACKLE!");
    var pikachuVoltTackleChance = Math.random();
    if (pikachuVoltTackleChance > 0.5) {
    pikachuAttackDamage(20);
    }
    else {
    confirm("Pikachu missed!");
    pokemonBattle();
    }
    }
    };
    pokemonBattle();

    • @dancekinghoseok4608
      @dancekinghoseok4608 8 лет назад +2

      Chris Mercer wow you're so good at it

    • @Zen-rw2fz
      @Zen-rw2fz 7 лет назад

      thx for that pokemon script

    • @fezii9043
      @fezii9043 6 лет назад

      I read through that all lol

    • @gaiusflaminius4861
      @gaiusflaminius4861 6 лет назад

      Umm, could you please write a version of this code in AppleScript? Would aid to comprehend actual sense of these statements.

  • @merafunpoint7864
    @merafunpoint7864 5 лет назад +5

    Thank you so much 12 productive minutes (y)

  • @alexanderblatzheim6193
    @alexanderblatzheim6193 5 лет назад +8

    More like "Every programming language ever" in 12 minutes.

    • @MM-vr8rj
      @MM-vr8rj 5 лет назад +1

      Basically yeah. Learned C#, HTML CSS before I started learning Javascript and well C# and Javascript and probably most programming languages have the same fundamentals.

    • @purplishdreamish
      @purplishdreamish 5 лет назад +1

      *every imperative programing language with C-like syntax, mind you

  • @telisijohn2054
    @telisijohn2054 4 года назад

    I wish, I had know this video existed 5 years ago. It just cut through all the bullshit and tech you the most basic but important parts of javascript in a layman language . Jake you are awesome.

  • @bb4telia
    @bb4telia 5 лет назад

    This was the best use of 12 minutes! It did exactly what it promised. Simple, easy to emulate, and I became a follower!

  • @marienabors1172
    @marienabors1172 6 лет назад +3

    Thank you so much! This video was a fantastic clarification of so many foundational building blocks of Javascript! He does go fast, but I just paused the video and replayed the parts where I needed to hear it again (and again and again, lol)! This was great; thanks again for posting this video.

    • @jkovert
      @jkovert 6 лет назад

      Yes, speed control is essential.

  • @cybersecurityexpert6135
    @cybersecurityexpert6135 6 лет назад +4

    i did learn pretty much everything in that short period of time thanks :)

  • @lagreewithyourcomment
    @lagreewithyourcomment 4 года назад +6

    I've learned more from this than watching an hour tutorial

    • @TheCraftero
      @TheCraftero 4 года назад +1

      Yeah usually in long tutorials they teach the theory more. But don't forget that the theory is important too

  • @carsonbaird3904
    @carsonbaird3904 2 года назад +1

    I juts learned more in the first 5 min of this video than I learned in my year long computer class.

  • @philiptomlinson4201
    @philiptomlinson4201 2 года назад +2

    This has made more sense than some hour+ videos!

  • @PerlaStronk
    @PerlaStronk 4 года назад +4

    Book: I can teach you Js in 24 hours
    Speedrunners: 12 minutes. Take it or leave it

  • @CodeTalkerLooter
    @CodeTalkerLooter 8 лет назад +6

    You taught me the same that I do with c++. How can I put animations to my webpage?

    • @igrewold
      @igrewold 8 лет назад +1

      Find a function that can help you.
      javascript.info/tutorial/animation
      Or just use gif images.

    • @mr.cringekid5117
      @mr.cringekid5117 6 лет назад

      use img element and put in a gif file of the animation

  • @ICoulntThinkofAUserNam547
    @ICoulntThinkofAUserNam547 5 лет назад +3

    Excellent overview of programming syntax, not just JS :)

  • @BenoitAdam
    @BenoitAdam 5 лет назад +1

    Wow I'm digging C since 2/3 weeks and now I know basic Javascript in 20 minutes. Thanks !

  • @zudma
    @zudma 4 года назад

    I've only studied java before, and I have to say, javascript seems so beautiful.... Thanks for the video!!

  • @geralt9036
    @geralt9036 5 лет назад +4

    I was taking a poop, saw the video and said "why not? I might turn into a expert when I get out of the toilet".

    • @geralt9036
      @geralt9036 5 лет назад

      Stevio Grootburg ✋

    • @hobokaru1350
      @hobokaru1350 4 года назад

      Sooo... you took a shit for 12 minutes?

  • @Jeff073
    @Jeff073 7 лет назад +4

    Nice tutorial!

    • @Jeff073
      @Jeff073 7 лет назад +1

      This tutorial makes it easier to understand but it's still pretty hard to understand.

  • @alexandercarvunaris846
    @alexandercarvunaris846 8 лет назад +7

    hey knowing java at 6:08 ish i think you may have misspoken just mentioning. great vid.

    • @jakewrightnet
      @jakewrightnet  8 лет назад +2

      About characters in a string being zero-indexed?

    • @alexandercarvunaris846
      @alexandercarvunaris846 8 лет назад +1

      oh nevermind i misunderstood the way you spoke it now that i rewatch. Sorry and thank you.

    • @RaduPasparuga
      @RaduPasparuga 8 лет назад +1

      what style do you use for sublime?

    • @mahnoorsaleem8656
      @mahnoorsaleem8656 8 лет назад +1

      do you know which IDE is this???

    • @RaduPasparuga
      @RaduPasparuga 8 лет назад +1

      Mano Sheikh sublime text 3

  • @nicholaslawson7303
    @nicholaslawson7303 6 лет назад

    I enjoyed your course. I thought it was nice. Im a university graduate with a degree in english literature that studies computer reference books and you are right in line with 101 and i appreciate that. Consider writing a text book, o reilly has a pitch page.

  • @huntmsl
    @huntmsl Год назад

    I increased speed to x2.0 and learned JavaScript in 6 minutes.
    These spared 6 minutes I was applying for a job as a Junior Front End.
    Writing you this from an office, day after I watched this video.

  • @marortiz7913
    @marortiz7913 5 лет назад +14

    this is cool but also feel like john maclean is teaching me javascript

    • @raquelalbano170
      @raquelalbano170 5 лет назад

      No. This wasn't seamless enough.

    • @ShaniOnSinai
      @ShaniOnSinai 4 года назад

      Not quite as shellacked as John’s vernacular.

  • @MrWolfy43
    @MrWolfy43 8 лет назад +6

    I am not knowledgable to understand even half of what you're saying. Where do I start? For example, I don't even know what an HTML is.

    • @kiwirockstheworld
      @kiwirockstheworld 8 лет назад +3

      JavaScript is not the best programming language to start with if you've never programmed before; Take a crash course on HTML, then learn some a bit CSS and then you'll be ready for JavaScript. :)

    • @MrWolfy43
      @MrWolfy43 8 лет назад

      Mathias Winnard thank you!

    • @MitsugamiZero
      @MitsugamiZero 8 лет назад +1

      the pack is learning how to code now

    • @saberfan
      @saberfan 7 лет назад

      code.org is the best dont go to the games though
      there are lessons for 6-9 and 10-12and just kids
      Also has lesson for html I used it and now Im decent at it

    • @woutuuur
      @woutuuur 5 лет назад

      I'd like to recommend Python as a starting point. It has helped me understand the fundamentals of programming. Python is very easy to learn and there are many tutorials on line.
      Also, I'd happily guide you through learning Python if you could add me on discord:
      Woutuuur#0549

  • @jasiantheasian8894
    @jasiantheasian8894 4 года назад +6

    There’s gonna be that comment so here it is
    “I pUt iN 2x sPeEd sO I caN lEaRn iN 6min and .25 seConDs

  • @kkingbd
    @kkingbd 6 лет назад

    Wow, This dude did an amazing job within 12 minutes. It is very helpful if you already knows java or any other languages.

  • @The0Stroy
    @The0Stroy 3 года назад

    It's great video not for learning from zero but to remind and clarify basics if you know them already.