Agile is a project management approach that values individuals and interactions, working software, customer collaboration, and responding to change. Two common Agile frameworks are:
Scrum emphasizes structured roles and timelines, while Kanban focuses on continuous delivery and limiting work-in-progress.
HTTP (Hypertext Transfer Protocol) is a communication protocol for web requests. It sends data in plaintext, which can be intercepted.
HTTPS is the secure version of HTTP. It uses SSL/TLS encryption to protect data between the browser and server.
Always use HTTPS when sending login info or handling user data.
https://
in API requests
// Example: Sending a secure fetch request
fetch("https://api.example.com/data", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer yourTokenHere"
},
body: JSON.stringify({ name: "Alex" })
});
To reduce spam and abuse in web forms, consider these protections:
Hashing is a one-way transformation of data to a fixed output. It’s used for securely storing passwords and ensuring data integrity.
SHA-256
is a common secure hashing algorithm
Template literals let you embed expressions and span multiple lines using backticks:
Destructuring lets you unpack values from arrays or objects into variables.
Spread copies values into a new array/object. Rest collects multiple values into one.
Arrow functions are shorter and use the outer this
context.
Closures let inner functions access variables from the outer scope even after the outer function has finished running.
var
is function-scoped. let
and const
are block-scoped. Use const
by default.