dtaskoff / hackbulgaria-javascript Goto Github PK
View Code? Open in Web Editor NEWMy repo for the Hack Bulgaria's Frontend-JS course
My repo for the Hack Bulgaria's Frontend-JS course
Тук - https://github.com/dtaskoff/hackbulgaria-javascript/blob/master/week1/students-system/client/app.js#L61 - можеш да напишеш forEach
, защото така var student
си отива пак горе, заради function scope-a
Тук - https://github.com/dtaskoff/hackbulgaria-javascript/blob/master/week1/students-system/client/app.js#L82 - може да пробвам с някой от workarounds - https://developer.mozilla.org/en/docs/Web/API/NodeList#Why_can't_I_use_forEach_or_map_on_a_NodeList.3F - или просто да ползваш jQuery, с което ще започнем в събота ;)
groupBy
и searchFor
може да ги метнеш горе в кода, вместо долу, тъй като те се ползват преди тяхното деклариране.
Евалата, най-доброто решение до сега. Няма бъгове. Супер код 👍
Супер е написано, браво Дани.
Обръщам ти внимание, че има един пакет, който се нарича hashtable
и е идеален за такива случаи - https://www.npmjs.org/package/hashtable 💃
Супер е написано, браво за Promise-ите.
Имам само една забележка за код, който се повтаря:
// line 41
makeGetRequestTo('http://localhost:8080/names
// line 57
makePostRequestTo('http://localhost:8080/name',
// line 62
makeGetRequestTo('http://localhost:8080/names',
Изнеси си всички URLs в един речник и просто взимай стойностите от там.
Така при ссмяна на сървъра ще смениш само на 1, вместо на 3 места.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.