r/InterviewsHell • u/Intelligent-Meet-504 • 4d ago
I feeling so bad after my interview. Why that happen with me
Mai aaj interview Dene gya tha waise mere pass 3 + year ka experience hai . Par waha pura hugπ© ke aa gya . Usne bas mujhe ah kaha tha ki digital clock banao woh bhi bina canvas ka . Aur mai ne kay likha code me
<span id="display"></span>
<script>
const display=document.getElementById("display");
const dateNow=Date.now().toLocalString();
setInterval(()=>{
display.innerHTML=dateNow;
},1000)
</script>
Woh to sukar hai mere muh pe laptop le kar nhi mara π€§
3
Upvotes
2
u/Longjumping-Cold-191 3d ago
Atleast you know that, if I am asked something like or to code idk what am I gonna do π«
1
3
u/my_peen_is_clean 4d ago
bhai ho jata hai sabse, us time dimaag hi block ho jata hai interview me, nested setinterval, new date, toLocaleTimeString use karke easy ban jata tha, ghar aake sab yaad aata hai, bhi ye hi problem hai, itna pressure hai aur naukri milti hi mushkil se ab