Random Quote Generator | Javascript Beginner Project Tutorial

แชร์
ฝัง

ความคิดเห็น • 57

  • @CodePhilipYT
    @CodePhilipYT  4 ปีที่แล้ว +8

    Leave a like if this video helped you, also give me feedback and suggestions for more projects!

  • @kristianzdravkovic87
    @kristianzdravkovic87 3 ปีที่แล้ว +1

    The end was so relatable 😅
    Thanks for the tutorial, means a lot

  • @drwhiskeyMK
    @drwhiskeyMK 3 ปีที่แล้ว

    i watched 10 other viedos on how to make random genreator and it never worked.
    this works perfectly Thank You Man You Are AWESOME!

  • @alexagates
    @alexagates 2 ปีที่แล้ว +3

    literally loved your commentary, one of the most enjoyable tutorials I've watched lmaoo great job!

    • @CodePhilipYT
      @CodePhilipYT  2 ปีที่แล้ว

      Thank you for your kind comment, glad you enjoyed it :)

  • @Orbiter5
    @Orbiter5 2 ปีที่แล้ว +2

    Thanks, this video really helped me build a website that I need for a video title generator!

  • @kieran2347
    @kieran2347 4 ปีที่แล้ว +11

    Hey man was just watching this video, it's good, but I wish you'd used a fetch method to get quotes from the API's itself cuz that's where people struggle. I'm just cuz I'm working on my first ever project, an image gallery where images keep changing on click with 6 different categories like birds animals objects etc and it's for kids to identify the different things by names, but I'm having a hard time, I have an idea of how its done but Idk how to execute it with code. Apparently I cant find the right video for this. Oh well.

  • @n83557
    @n83557 3 หลายเดือนก่อน +1

    Great work,bro
    I have a quest,
    Why we use math.floor(math.random()*quotes.length).

    • @CodePhilipYT
      @CodePhilipYT  3 หลายเดือนก่อน

      Thank you, we use that expression to randomly select one of the quotes from our array.

  • @QK_Engineer
    @QK_Engineer 2 ปีที่แล้ว +1

    geat vid! I wrote my function outside of the addeventlistener part then just plugged it in at the end but thanks for ur help

  • @mikolots
    @mikolots 2 ปีที่แล้ว +1

    Dude you are hilarious. Great lesson!

  • @debrad.castleberry2457
    @debrad.castleberry2457 4 ปีที่แล้ว

    Simple & & helpful
    Love from Pakistan

  • @lyallcampbell2565
    @lyallcampbell2565 4 ปีที่แล้ว +6

    haha 10:41, relatable. Great vid btw

  • @mahisarwar
    @mahisarwar 2 ปีที่แล้ว +1

    Please make new videos, i love your short projects

  • @MsDnart
    @MsDnart 3 ปีที่แล้ว +1

    That was great. Congrats !!! It helped me a lot.

  • @urmomjei8593
    @urmomjei8593 3 ปีที่แล้ว +1

    This was really helpful, thanks!

  • @lizprettysweet
    @lizprettysweet 4 ปีที่แล้ว +1

    This really helped me a lot ! Thank you

  • @pastordestinystudios.
    @pastordestinystudios. 2 ปีที่แล้ว +1

    Thanks for the video, I have a question to ask. Please I want you to be of help, because you explain things to my understanding. When I added the arrays of quotes in the js, my virtual studio code , gave errors and I don’t know why. Thanks. Hope to here from.

    • @CodePhilipYT
      @CodePhilipYT  2 ปีที่แล้ว

      Hey, thank you for your comment. Try and compare your code to my code in the video, I think you made a small mistake. Maybe you forgot a ; or a ().

  • @SimpleDesign1990
    @SimpleDesign1990 2 ปีที่แล้ว +1

    Very helpful - thank you! 🙏

  • @veryfine69
    @veryfine69 4 ปีที่แล้ว

    Great video. You were informative and entertaining.

  • @lonelyplayer3369
    @lonelyplayer3369 4 ปีที่แล้ว +4

    Hey guys, if you have problems with this info in console " Uncaught TypeError: Cannot read property 'addEventListener' of null " .... then just move your script tag of js file to the end of the body in HTML. Thats because is returning null because it executes before the DOM fully loads.
    This only happens if you have put the script tag in head section in HTML document.

    • @CodePhilipYT
      @CodePhilipYT  4 ปีที่แล้ว

      Thanks for commenting, this will probably help someone save some time on errors ^^

    • @pescepalla9131
      @pescepalla9131 3 ปีที่แล้ว +1

      i have tried that but it still gives me an error, what can i do?

  • @alessiacampana2320
    @alessiacampana2320 ปีที่แล้ว

    i need help. i copied the code right, but when i press the btn, it says undefined....

  • @CzEnglish
    @CzEnglish 2 ปีที่แล้ว

    Thank you so much! I have a question ... Why do you use "LET" most of the time but in the function you use "VAR" all of a sudden?

    • @areebahmed1773
      @areebahmed1773 ปีที่แล้ว

      let is more appropriable to use.

  • @aliaaali3260
    @aliaaali3260 ปีที่แล้ว

    Very helpful, thanks 😍

  • @codewithme156
    @codewithme156 2 ปีที่แล้ว

    I think if it is random so sometime it will be random again the index that we just got the last time so the new time nothing change

  • @sonlightstickbukucu
    @sonlightstickbukucu 4 ปีที่แล้ว +1

    9:55 and 10:41 same bro, same.. :')
    btw, thanks for the video.

  • @sujitdas-vy4gk
    @sujitdas-vy4gk 3 ปีที่แล้ว

    bro error is coming...its showing that math:function is not defined...helpp

  • @marcelolb1221
    @marcelolb1221 2 ปีที่แล้ว

    how do I make it never repeat the same quote?

  • @rajeshghadi58
    @rajeshghadi58 4 ปีที่แล้ว

    could you tell me how to add previous button to show previous generated item ?

  • @loneerwoof
    @loneerwoof 3 ปีที่แล้ว +1

    Thank you so much bro!

  • @bucky716
    @bucky716 3 ปีที่แล้ว +1

    Great vids. The site is down. This account still watched? :(

    • @bucky716
      @bucky716 3 ปีที่แล้ว

      Just followed a long and typed as you typed. Thanks!

    • @CodePhilipYT
      @CodePhilipYT  3 ปีที่แล้ว

      Yes, sadly I had to take down the site, but the TH-cam channel will stay.

  • @tucciproducer
    @tucciproducer 3 ปีที่แล้ว +1

    What happened to the link in the description?

    • @CodePhilipYT
      @CodePhilipYT  3 ปีที่แล้ว

      sadly the github demos dont work anymore, I dont really know why

  • @ShimmerBodyCream
    @ShimmerBodyCream ปีที่แล้ว +1

    Thank you!

  • @pudgybudgie1130
    @pudgybudgie1130 4 ปีที่แล้ว +1

    Nice Video!

  • @michokaraki7095
    @michokaraki7095 3 ปีที่แล้ว

    awesome and super helpful vid :D :D

  • @Supercool7042
    @Supercool7042 2 ปีที่แล้ว

    5 project done today
    see you tommorrow

  • @williamsimms2422
    @williamsimms2422 4 ปีที่แล้ว +1

    pretty good video,

  • @debrad.castleberry2457
    @debrad.castleberry2457 4 ปีที่แล้ว

    Waiting for 52 projects

  • @Mr.SamFlores
    @Mr.SamFlores ปีที่แล้ว +1

    thank uu 😁😁.

  • @DiimaPopov
    @DiimaPopov 3 ปีที่แล้ว

    loved it.

  • @ShadabAsg
    @ShadabAsg 4 ปีที่แล้ว

    Please add random image also

  • @salemmajed916
    @salemmajed916 3 หลายเดือนก่อน +1

    Thanks

    • @CodePhilipYT
      @CodePhilipYT  3 หลายเดือนก่อน

      No problem :)

  • @Isaac-kb6jo
    @Isaac-kb6jo 6 หลายเดือนก่อน

    Hello thanks baba
    But ur video no clear at all oooo