thank you for your reply. On my devices it works fine and also on those of some friends. I asked the team from Netlify Support regarding this issue and got this answer:
"This is the classic situation where you need more information.
I took the website down and made the repository private for maintenance/fixing the problem.
When I made it run again, I will leave a note here and try to explain what the failure was.
So I finally found the āsolutionā.
When you deploy an App build on the Spotify Rest API, and want to make it full accessible for everyone, you have to apply for an Quota extension.
On the Dashboard of your App, under āBasic Informationsā you find the āApp Statusā. by default it is set to ādevelopmentā. This means, your App is restrictet to be used by a max. of 25 persons, you have to add manually under āUser Managementā.
Getting an Quota extension means that your App has to be approved by Spotify. Thus, you must follow their Design Guide and Spotify Developer Terms.
In my case, I will not apply and rework my solution.
If you would like to see how it looks like in real, please follow the instructions in the Markdown file.
Appendix:
I really donāt understand why Codecademy does not point to this important circumstances. It drove me mad over weeks and I am sure, that I am not the only one.
Thank you for your reply and also for sharing this information with me.
Where are you now in the curriculum? What percentage? Which lesson?
I have a problem that when searching, the results always remain only on the second āsearchā. The results of the first search are only displayed for ~half a second.
Hi, I looked at your code on github , I would suggest:
1 avoid big files like app , api context (split parts or move something to other files), for example all variables with const type to constants folder.
2 as written above, you can use the practice of domaining, split code that belongs to the same domain.
3 take a closer look at the checks in the if clauses in the app, it can be shortened.
Maybe there is still a lot of work to do, but this is what I noticed in 5 minutes of time.
Hey, I am sorry for responding so late. There is too much going on. Well I finished all the lessons and I am working now on the Redux Project (Reddit) and the final Project.
I had no programming experience before I started this course, and I found it really challenging. I am always wondering when people say they finished everything within 3 months.
If you would like to share your Repo, I can have a look. but please be patient with me, it can last a while .
Thank you very much for your feedback. It seems like you are a more experienced developer?
I see what you mean with the if-clauses and I will change it. I also will see how to split the code. Can I ask you, what exactly you mean by ādomainingā? Regarding code structuring this is a new term to me.
And I also understand what you mean with bringing the constants into a separate folder. Indeed, it would make it clearer!
But I do not know how to follow this approach with constants that are more or less all using useState(). And I could not find a solution for that case online.
May I ask you for an example? Or do you know a tutorial/website/repo where this is explained?