Using setTimeout() in JavaScript / Traffic Light Example

Опубликовано: 01 Февраль 2021
на канале: Computing and ICT in a Nutshell
2,873
14

A look at what JavaScript's setTimeout() function does, and how it's used, and how we can use it to animate the traffic light page that we created in the first video of the playlist.


Binary flags: https://www.advanced-ict.info/interac...


Bitwise logic: https://www.advanced-ict.info/interac...


I've also written a blog on using arrays instead of if for "selection":
https://advancedictinfo.blogspot.com/...


Finally, here's an example traffic light that uses a slightly different approach to selecting the colours for the lights:
https://www.advanced-ict.info/javascr...


На этой странице сайта вы можете посмотреть видео онлайн Using setTimeout() in JavaScript / Traffic Light Example длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Computing and ICT in a Nutshell 01 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,873 раз и оно понравилось 14 зрителям. Приятного просмотра!