COMP 266 Unit 6 JQuery Implementation

  • Public
By Stanley Nguyen December 30, 2024 - 8:50am

Zipped Code: https://drive.google.com/file/d/1ymgwSx3yni7iykQNSO-LO89cNO6S9Nsi/view?usp=sharing

Pros and Cons using JQuery vs. doing it yourself:
Jquery:

  • It is simple and quick to pick up. I think it's because of its popularity and the fact that it has alot of documentation.
  • It covers many use cases, which allows programmers to use JQuery almost everywhere in their sites in almost any scenario.

Yourself:

  • It may be better for practicing your programming skills to do more things yourself rather than to rely on libraries.
  • Your website would rely on less things. By using JQuery, I think that the website now relies on one additional library which may become outdated as time passes.

Obstacles
I found that I had trouble debugging the code because of method chaining and implicit behaviour. I also found that it was odd to use the $ symbol, as I typically don’t see that in code. I was unable to associate it with anything I had previously learnt, so it was a bit tricky to pick up.