Bitmaker Labs – Day 25

Today we learned about jQuery, which makes DOM manipulation so much easier than POJS (Plain Old JavaScript). E.g.

//To access a div element by a unique ID:

//In POJS:
document.getElementById('logo');

//In jQuery:
$('#logo')

 

The DOM is a new concept for me, but it’s one that I’ve heard of before. Manipulating the DOM is what jQuery basically does. Since the website you’re on is inside of the DOM, you can do a lot of neat things to it. For my first assignment today, I had some fun with Google:

Screenshot of Google search replaced by Bing.