Really thank your so much, without ur help if would have take me a lot of time doing something like this, you saved a lot of time for me. This project is really going to help me a lot. thanks a lot teacher. you have explained almost everything clearly, no doubts. thnak you so much ❤
i built a super similar web app in the summer except instead of using pokeapi i created my own api using mongodb and js. and then i created a react app for the front end and let me just tell you ur website is a much cleaner design. Mine doesnt work on mobile at all since i didnt have any css knowledge at the time and was just learning as i went. May have to redo my website after seeing this lmao
That is a super useful stack though! I am planning on doing some MERN projects on this channel 😊 I'm glad this can serve as inspiration, let me know how it goes!
Working through this tutorial. Why do we use removeEventListener in regards to the left and right arrow in the details.js? If we are adding navigate pokemon functionality to the arrows then why are we removing the event listener when there is a click?
When creating the pokemon.js in the first const with document.Queryselector the log tells me "document is not defined". I tried putting the script at the end of the body, checked the folder structure path and any typos but everything is okey. Why it gives me that error?
How long have you been programing? I just completed a full stack bootcamp, but I feel there is just too much to learn, snd it will take too long to become good at it.
I have been programming full-time for only 1.5 years. So it can go very fast with solid dedication. Also, my personal experience is that the more you code the quicker you learn to adapt to new "unknown" technologies, syntax, tools etc. So although being a developer is constantly learning and evolving, I definitely feel more comfortable jumping into something new and feel less and less overwhelmed as time passes. You got this! 🤓💪
Putting JavaScript in the head with `defer` lets the browser download it while it's parsing the HTML, but it waits to run until after the HTML is fully loaded. This can make your page feel faster. Placing scripts at the end of the body achieves a similar result, but it might slow down rendering because scripts can block page loading. Using `defer` in the head gives you the best of both worlds: fast downloading and deferred execution for smoother page loading.
in pokemon.js - line 76 - i had to add a 'return' statement at the beginning to get name searches to work. I'm only about an hour into the video and hadn't had any other issues with it other than that. "return pokemon.name.toLowerCase().startsWith(searchTerm)" I'm still learning so can you add some insight on this, do you know why i would have had to make this change from the original code?