BLOG POST 304

Kris rodgers
1 min readOct 1, 2021
  • If a user attempts to create a resource that already exists — for example, an email address that’s already registered — what HTTP status code would you return?
  • RE: 500
  • Consider a responsive site design that requires a full-width image in all responsive states. What would be the correct way to code this to ensure the page loads the smallest image required to fill the space?
  • RE: PUT /objects/{id} HTTP/1.1 …?
  • When should you npm and when should you yarn?
  • RE: NPM when just starting your project
  • How can you make sure your dependencies are safe?
  • RE: npm outdated (for locals) and npm outdated -g — depth=0 (for globals)
  • What are the differences between CHAR and VARCHAR data types (MySQL)?
  • RE: VARCHAR variable character and CHAR stands for character
  • How else can the JavaScript code below be written using Node.Js to produce the same output?
  • Wasnt sure what this question was asking

--

--