Tagged Questions
0
votes
2answers
44 views
Setting element attributes via JavaScript as opposed to in HTML code itself [closed]
While code reading I came across a piece of code in JavaScript which set the placeholder attribute for an input element ($("#el").attr("placeholder", "I am Input");). I myself have always set such ...
4
votes
2answers
71 views
Improving Code pointers
I'm new to jQuery and I've been messing about with this code, It works but I want to learn how to shorten the code by the eliminating unnecessary repeated code.
Below is a link to jsFiddle
...
1
vote
0answers
104 views
Review my Card Matching Game. (Update to an earlier post)
I updated my code according to a few suggestions from my last post, so I thought I'd repost it to see what other feedback I could get. I also commented it heavily and fixed some of the functionality.
...
2
votes
1answer
649 views
Static quiz module with predefined answers
I was building a QUIZ module for one website. It is a simple TRUE/FALSE statements where you first choose the answer then correct answer is getting displayed and then you can move forward to next ...