Skip to main content

JavaScript 30 notes for day 10, 12, and 14

——— Day 10: Press Shift to Pay Respects ==> Github

All boxes checked between the first and last box you’ve checked, nice.

listen for checkbox activity
(input type - checkbox)
eventlistener for a click (or keyboard ‘click’)
put the first check into a variable. (as let, it’s reassigned constantly)
see if shift key is down.
and if key is down and box is checked, have a blast, do what you want.

“Is the checkbox equal to the one being checked”?


——— Day 12 Code-Nami Press ===> GitHub





An event listener per key (window.addEventListener(‘keyup’,(e) => {
console.log(e.key)})

is essentially a very basic keylogger, provided you have access to the victim’s console.

press.push(e.key) actually puts it into the pressed array.

If you put in the proper code, the unicorns pop up. I’d change it, but I like unicorns.

------ Day 14: Copy and Ref ------

Reference vs. Copy
“It’s fundamental to how JS works!” (Tell me if I’ve gotten something mixed up here)
Consider when variables are defined;

let name = ‘Morgan’;
let name2 = name;
console.log(name, name2) = Morgan Morgan
name = ‘Eden’;
console.log(name, name2) = Morgan Eden

consider arrays;

const royals = [‘Elin’, ‘Karel’, ‘Ophelie’, ‘Julietta’]
const duchesses = royals
console.log(royals, duchesses);

royals[3] = ‘Priyana’

updating royals doesn’t update duchesses - again, look at the order of the commands.

slice returns the entire array if you take nothing (royals.slice())
you can concat(duchesses) into an array to put everyone in the same box.

spread just takes the array and shoves the data into said new array.
——

Objects are a bit different.

const captain = person;
captain.number = 99

a reference to the original

a copy is object.assign({}, person, { number: 99} )

person copies it, and the { number: 99} is now placed into the new object


EMPLOYERS: This is me sharing notes and putting new skills into practice.

Comments

Popular posts from this blog

Azure Networking Options - Core Cloud Services

I have done a lot of AWS things on here. Time to give Azure some attention. After all, since employers don't think Cisco or COMPTIA certifications are important, maybe Microsoft ones are?

First, let's really think about why these are the two biggest cloud services providers in the world:

They've been doing internet things for a long time.Amazon launched in 1995, a virtual bookstore.
Microsoft, well, you know. 

They've lived, breathed, and frankly, created, infrastructure that we use today, that they're selling to us today. Of course the Store of Everything and the Company of Everything would encourage us to put everything in their hands.

Also: Azure has a lot less silly names for modules. Important. I appreciate straightforwardness.


I said 'a lot less', not '100% sensible names'

Microsoft has a clear set of Azure Fundamentals that anyone can interact with. Let's talk about networking basics, basically to say, again, "Hi, employers, I have an …

The Updated "What I'm Looking For In A Role" Post (2020)

Thank you for wanting to help with my job search! Here are some parameters.


Ideal:
Part time remote, text based support. It's a little far fetched, but the positions do exist. I enjoy having the flexibility to take on temporary projects from time to time!
Feel free to suggest something full time (still remote) that can fit within the below criteria;


Skills:

AzureCisco routing and switching.Technical writing.UX critiques [See Here]

Volunteering:
Find me on Jumpstart and CareerVillage.
Jobs:
Networking SysAdmin IT SupportTechnical Consulting

I'm not super interested in hardcore Cybersecurity.
Location:
Remote is ideal, however, it's all a case-by-case basis. Temporary (7 days or less) jobs are fine, otherwise, I am not interested in living or working in Panama City, FL or the surrounding areas. Destin is okay.
East Coast preferred.Deep South is a no. Central/South FL is okayCompany I do not have a Security Clearance.
Size:
Preferably under 1000 people worldwide.Multimedia conglomerate…

Grace Hopper Celebration 2019 (GHC19)

From Aicha Evans' speech at the Keynote.
September 6th - I receive an email from Anita B Organization, saying "We read your application, we like your website, and here's a free ticket to GHC 2019 in Orlando, Florida!"


After a few more questions, it seemed everything was on the up and up, and so I accepted - and that's what this post is about!

For those who don't know, Grace Hopper Celebration is the largest gathering of Women in Technology in the world.

On a personal note, This is the first trip I've taken without my parents. Sure, they've left me behind to go on vacations, but I've never left them. I was totally worried! But you know what happened?

I met a lot of cool people in Orlando, learned a lot of neat things, and had a blast just walking around airports for upwards of 8 hours.

New Delta Sky Club on Wikimedia I really, really love airports! And I survived.

I know in the past, I've wormed my way out of jobs despite being interested simpl…