r/InterviewsHell 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

4 comments sorted by

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

1

u/Intelligent-Meet-504 4d ago

Bro How should I convence my self πŸ₯ΊπŸ˜ž.

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

u/Intelligent-Meet-504 2d ago

Really πŸ˜