front end development test – html/css/jquery/javascript
We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as:
Advantages of using pure JavaScript over JQuery
What are the advantages of using Javascript-only versus using JQuery-only?
Suggestions for html tag info required for jQuery Plugin
I have written a tiny bit of jQuery which simply selects all the Select
form elements on the page and sets the selected property to the correct value. Previously I had to write code to generate the Select
in php and specify the Selected
attribute for the option that was selected or do loads of if
statements in my php page or smarty template.
Creating and assigning console.log a new object
I have seen code like this in several places:
Using which technique does facebook and pininterest show images?
If anybody has ever noticed that when you open a image in Facebook something like this happens:-
Is jQuery an example of “god object” antipattern?
I want to ask – I am slowly learning jQuery.
use of jquery-latest
I recently had some code I wrote a year ago fail because someone linked my code to
How to dynamically add new posts once they are created
I am trying to design an application where users can make posts with Django on the backend. Right now I have to refresh the page with JavaScript every 20 or 30 seconds to check for new posts that might be available for that page. I was wondering if there are more effective ways to do this? Maybe with a JSON response? I am looking for a solution like Twitter, where they show how many new posts are available that are not on the page or even like on Facebook where they update the wall posts automatically.
Find in modal and use its ID
Using Intraweb.
I create a table on runtime, in modal, has ID, Table has ID and every td has unique ID.
I get a return van the Ajaxcall, but not the ID from the td which was selected.
With a table in the mainscreen (lower script) it works fine.
JQuery text() function with multiple spaces [duplicate]
This question already has answers here: How to allow and show extra spaces in html [duplicate] (2 answers) jQUery – insert inside label (3 answers) Closed 15 days ago. How can I display two consecutive spaces using the JQuery text() function? Fiddle here: https://jsfiddle.net/15d68fqh/1/ <span id=”a2″></span> $(“#a2”).text(“first second”); jquery 1