Wednesday, 1 November 2017

Javascript - The Event Object

Within this lesson from Treehouse, I learnt more about the event object. The EventListener command as written as:

document.addEventListener('click', () = > {
 console.log(event.target);
}
)
This logs out the target element. For example if you clicked a list item on a page, it would give the element listed in HTML form in the console.

 This can be used to remove the amount of handlers instead of using many different handlers.




Information taken from this video: https://teamtreehouse.com/library/the-event-object-2

Wednesday, 18 October 2017

Introductory post

This post is to state simply what I'm trying to achieve with this blog. Following my University studies I have decided to begin to document the tech based things I've been learning about and developing in. By creating this blog, it allows me to look back for context, but also for employers to have more proof of the developments which I may discuss in interviews or on job applications.

Thanks
James Kay