Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3403


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
 
Options:
RSS cloud
Jump to:

JavaScript / jQuery

1 of 419 articles shown, currently no other people reading this forum.
photo
From: Nathan S.
Date: Mon 8th Jun, 11:54am
Actions: 
        Login-to-reply

 

"Timothy French" <ti*.*r*n*[email protected]*a*e*u*a*> wrote:

> ANONYMOUS wrote:
> 
> > Hi Tim
> > If an exam question asks for JavaScript code, is it acceptable to answer with jQuery? 
> > Thank you.
> 
> Pure javascript is prefered.


Jquery is so much easier to remember for DOM manipulation (eg. .append(); and 
remove()/empty();.  Is there any chance you could quantify the 'prefered' concept?  

Here is a hypothetical question for you:
Say a javascript coding question has 10 marks and part of it involves DOM manipulation, say 4  
of the 10 marks worth.  So I go ahead use jquery anyway;

Are we talking basically any marks for that part of the code are lost?  Or we just get some of 
the 4 marks.  I'd probably trade 2 marks for not having to remember things like: 
element.parentNode.removeChild(element);  Obviously, we will not know the breakdown of marks 
in the exam, but I am trying to get a feel for the aversion to jquery here.   If it is was 
extreme, like, you basically get no marks when you fall back to jquery, then I guess I would 
try to force some of the key JS commands into my head.

Regards,

Nathan

Related articles

JavaScript / jQuery (all 10) RSS
├─ original   Fri 5th Jun, 9:22pm, ANONYMOUS
├─ reply 1   Mon 8th Jun, 9:27am, Timothy F.
├─ THIS   Mon 8th Jun, 11:54am, Nathan S.
├─ reply 3   Mon 8th Jun, 6:27pm, Haolin W.
├─ reply 4   Wed 10th Jun, 11:56am, Nathan S.
├─ reply 5   Wed 10th Jun, 12:22pm, Timothy F.
├─ reply 6   Wed 10th Jun, 12:34pm, Georgia A.
├─ reply 7   Wed 10th Jun, 2:17pm, Haolin W.
├─ reply 8   Wed 10th Jun, 2:40pm, Timothy F.
└─ reply 9   Wed 10th Jun, 3:00pm, Nathan S.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  5:31am Aug 04 2020