Тэги:
#get_a_new_quote_on_click_of_button_javascript #change_quote_on_button_click_javascript #click_a_button_and_get_a_random_quote_javascript #generate_a_random_quote_on_click_of_button_javascript #generate_random_quotes_javascript #random_quote_generator_project_javascript #how_to_create_a_random_quote_generator_project_javascript_html_cssКомментарии:
thanks man
ОтветитьGreat!Thank you. Can you let me know why do you have div and then another div inside the first div. What is the purpose of it? Thank you
ОтветитьGood
ОтветитьHey Miguel,
Firstly, thank you so much for creating these. It's really helpful for people trying to put the pieces together after taking the beginner course for JS.
When it comes to JS, I am mainly having trouble understanding as to what I should be thinking about next while writing the JS logic.
For example, as you are writing the logic, you have a clear understanding of what you need next to code the feature you want to make. This could be as little as putting a 0 inside a square bracket [0], all the way to writing dot notation and choosing a specific method.
I just need a word by word breakdown as to WHY you're thinking what you're thinking and how you come to the conclusion of what you're writing next.
Not working errors everywhere
ОтветитьI somehow managed to screw up my function call in index.html file. I called onClick=“generate” instead of onClick=“generate()”
I will not forget that ever again!
Hey bro, I am also a content coder creator. Plzz tell me that how yiu put that last ending video with specific name
ОтветитьThank you so much! This is a really interesting project!
Ответитьdid you forget especialy the generate button.. in css
Ответитьhow do I make the button closer to the author name? The way it's outside of the first container feels off, any solution?
ОтветитьThanks bro, i've been looking for videos like this in a while, very helpful with great explanation
ОтветитьTHANK YOU SO USEFUL PLEASE DO MORE JAVASCRIPT PROJECT
ОтветитьAlot of my mistakes are Typo and comma that was suppose to be there. But checking inspect and errors that shows, you can troubleshoot it.
Thanks a lot!!!
Thank u bro, these videos help me a lot.
Ответитьactually i watched ur first video about button and doublechecked this video too for why i was getting error and why it was not generating quote i rewrote button code then i noticed something wrong in javascript when we called function name Generate i had accidently wrote function Genereate instead of function Generate so thats why it was not generating quote for me i fixed that and button works properly now
ОтветитьI keep getting: (index):21 Uncaught ReferenceError: generate is not defined
at HTMLButtonElement.onclick
please make a video on js how does this dom work how did u really acces in html using js ... plz make a video in which u clear my confusion
Ответитьi didnt understood and confuse == when you give a varaible name same which you use in html .. and comming to javascript does javascript look it as a key and goes to html or js define its a random var .. for eg( when you declare a function like onclick =" myfunction()' and u come to js a write myfunction() and here u go u acces the html so i am confuse ) i think it will be difficulty for u to understand my english .. cause i am from nepal and its also hard for us to talk in english.... but i have this dought and please try hard to understand what i am questioning ..
ОтветитьWhen I click the button it doesn’t say the quotes it says Undefined [objects HTMLHEADINGElement] Any tips on fix this issue ?
Ответить