Question d’entretien chez Meta

Animate a given element using JS across any given time frame

Réponses aux questions d'entretien

Utilisateur anonyme

22 oct. 2018

Apply padding to the element inside a call to setInterval

Utilisateur anonyme

5 janv. 2019

hey there, i have my interview in a week. really confused by this question. both the question and answer. "Animate a given element using JS across any given time frame" do you mean take the animation interval as an input? "Apply padding to the element inside a call to setInterval" what is the significance of applying padding to answer this question? feel so lost :() thanks

Utilisateur anonyme

5 janv. 2019

no, there wasn't a specification of parameters. it was open ended (though my wording isn't exact). adding padding to the HTML element over time would make it appear to move across the screen/animate

Utilisateur anonyme

5 janv. 2019

no, there wasn't a specification of parameters. it was open ended (though my wording isn't exact). adding padding to the HTML element over time would make it appear to move across the screen/animate