3 ms·
Here's how I would answer these, and how I would expect a candidate to answer them: Absolute positioning defines the placement of an object based on the bounda
by byoung2 11y ago
Here's how I would answer these, and how I would expect a candidate to answer them:
Absolute positioning defines the placement of an object based on the boundaries of its parent. Relative positioning defines placement as an offset from where the object would have appeared in the normal document flow.
Promises are a way to handle asynchronous events...you can define now what you want to happen in the future when an expected condition is met in a way that is cleaner than nested callbacks.
Client side rendering inserts data into templates and pieces them together in the browser using Javascript rather than generating html on the server and sending the rendered page.
Clear specifies whether other objects can float next to the current object or whether they have to go below it.
Html templating is best left to the professionals. I doubt I could do better than one of the popular open source ones.
Source: I am a director of engineering
- isuck_interview 11y agoThank you byoung2 for your answer! Although those are the correct answers, I was looking for a format to answer these. I guess I'm really scattered brain in terms of answering open-ended questions.
- byoung2 11y agoI guess there is no set format, just answer concisely and confidently. If you don't know something, say so, like I did with the last question. The last 5 job hunts I did I got the job after interviewing with only one company.