Skip to content

Instantly share code, notes, and snippets.

View AppMkrATL's full-sized avatar
🎯
Focusing

Sam Khaled AppMkrATL

🎯
Focusing
  • Greater Atlanta Area - Georgia - USA
View GitHub Profile
@AppMkrATL
AppMkrATL / exampleStringDrill.js
Created February 13, 2018 13:19
String drills
function add(num1, num2) {
return num1 + num2;
}
function subtract(num1, num2) {
return num1 - num2;
}
function testAdd() {
@AppMkrATL
AppMkrATL / wisepersonGenerator.js
Last active February 13, 2018 13:47
1_Wiseperson generator
function wisePerson(wiseType, whatToSay) {
// your code here
const actual = ('A wise ' + wiseType + ' once said: "' + whatToSay + '".');
return (actual)
}
wisePerson('goat', 'Hello world')
/* From here down, you are not expected to
understand.... for now :)
@AppMkrATL
AppMkrATL / shouterGenerator.js
Created February 13, 2018 13:59
2_Shouter Generator
function shouter(whatToShout) {
// your code here
return (whatToShout.toUpperCase() + "!!!") ;
}
/* From here down, you are not expected to
understand.... for now :)
Nothing to see here!
@AppMkrATL
AppMkrATL / textNormalizer.js
Created February 13, 2018 14:46
3_Text normalizer
function textNormalizer(text) {
// your code here
return (text.toLowerCase().trim());
}
/* From here down, you are not expected to
understand.... for now :)
Nothing to see here!
// Creating arrays
// ===============
/* Write a function called makeList that takes 3 arguments (item1, item2, item3) and returns an array containing the 3 items. */
function makeList(item1, item2, item3) {
// your code here
return [item1, item2, item3];
}
console.log(makeList("cat","dog","rabbit"));
https://repl.it/@SamKhaled/Array-copying-I-drill
https://repl.it/@SamKhaled/Array-copying-II-drill
https://repl.it/@SamKhaled/Squares-with-map-drill
https://repl.it/@SamKhaled/Sort-drill
https://repl.it/@SamKhaled/Filter-drill
https://repl.it/@SamKhaled/Find-drill
What do you already know about your communication style and skills?
I'm a project manager and most of our time is spent communicating and filtering the noise from the message; additionally we have to be able to "read the room" and keep the message in context; emotional intelligence and moral compass must be at the center of all our dealing.
My academic knowledge, my experience in the field and my acceptance of the fact that no-one holds the absolute truth let me listen more that I talk.
What did you learn while reading this?
empathy and openness are key to good communication.
What techniques or tips are you looking forward to trying during the bootcamp?
all of them: this was an excellent read.
https://repl.it/@SamKhaled/min-and-max-without-sort-drill
https://repl.it/@SamKhaled/average-drill
https://repl.it/@SamKhaled/fizzbuzz-drill-js
Write up your answers in a Gist. Submit a link to your Gist below to share with your mentor.
At your next session, be sure to spend some time talking about your answers.
Questions
=========
1- What is scope? Your explanation should include the idea of global vs. local scope.
2- Why are global variables avoided?
3- Explain JavaScript's strict mode
4- What are side effects, and what is a pure function?
Object creator : https://repl.it/@SamKhaled/Object-creator-drill
Object updater: https://repl.it/@SamKhaled/Object-updater-drill
Self-reference: https://repl.it/@SamKhaled/Self-reference-drill
Deleting keys: https://repl.it/@SamKhaled/Deleting-keys-drill