Developers say they want to learn backend development…
…but then they try to learn servers, databases, auth, APIs, Docker, cloud, and security all at once.
That’s exactly why they get stuck.
Backend gets easier when you learn it in the right order.
Here’s the roadmap I’d follow to learn backend development from zero:
Object.create vs Object.assign
Object.create(a) // creates new object and adds given object as the prototype
let receiver = {}
Object.assign(receiver, a) // assigns all enumerable keys from given object to receiver
Last, use a checkbox to toggle Dark Mode on & off. No JavaScript. A checkbox input, placed anywhere in HTML is all I need, since I can change all my CSS across the DOM using :has()
body:has(input[type="checkbox"]:checked) {
background: blue;
--primary-color: white;
}
In engineering, rarely is A always better than B.
Usually, A and B come with a long list of PROS and CONS.
Your job as an engineer is to figure out which PROS matter and which CONS you can live with.
JS Tip: Concatenate array of arrays into single array
let a = [[1,2],[3,4],[5,6]]
a = a[0].concat(a[1], a[2]); /*vs*/ a = [].concat(...a); #webdevelopers
Tip: style your console messages with CSS to better contrast important logs and notify users
Facebook uses this to warn folks of security risks executing untrusted scripts in the console ✨