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: Haolin W.
Date: Mon 8th Jun 2020, 6:27pm
Actions: 
        Login-to-reply

 

Easy to remember yes, but using a library is not a good approach to answering an exam question 
that's questioning you about JavaScript. What if you don't have the library? The fact of the matter 
is that you need a library to be using the functions that you'd be using for JQuery. If you write 
raw JavaScript, it may be harder to remember (although you have a cheat sheet for it), however you 
will 100% be answering exactly what the question is asking, and can guarantee that it will work 
regardless of whatever imports exist. The example you gave, those functions, I believe that they 
are on the cheat sheet. Avoid using libraries unless explicitly told to in the question.

"Nathan Scott" <18*1*1*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> "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 2020, 9:22pm, ANONYMOUS
├─ reply 1   Mon 8th Jun 2020, 9:27am, Timothy F.
├─ reply 2   Mon 8th Jun 2020, 11:54am, Nathan S.
├─ THIS   Mon 8th Jun 2020, 6:27pm, Haolin W.
├─ reply 4   Wed 10th Jun 2020, 11:56am, Nathan S.
├─ reply 5   Wed 10th Jun 2020, 12:22pm, Timothy F.
├─ reply 6   Wed 10th Jun 2020, 12:34pm, Georgia A.
├─ reply 7   Wed 10th Jun 2020, 2:17pm, Haolin W.
├─ reply 8   Wed 10th Jun 2020, 2:40pm, Timothy F.
└─ reply 9   Wed 10th Jun 2020, 3:00pm, Nathan S.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020