How to make content to show according to time | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to make content to show according to time

The content which is read by a user should read different from morning and night.

25th Aug 2020, 9:56 PM
Vishnu
Vishnu - avatar
4 Antworten
+ 3
Is it some exam you are attending?your all questions are how to,why so? There is Google , thousands of videos ,why not do some self research and then ask specific questions with an attempt linked or your thoughts about what you tried so far
25th Aug 2020, 10:10 PM
Abhay
Abhay - avatar
+ 1
Use setInterval Or setTimeout You will learn these concepts in next classes of js.
26th Aug 2020, 12:21 AM
Divya Mohan
Divya Mohan - avatar
0
Thank you but can you provide me an example
26th Aug 2020, 9:30 AM
Vishnu
Vishnu - avatar
0
See I don't actually get the theme what you want.please explain a little bit which type of variation you want wrt time...
26th Aug 2020, 12:13 PM
Divya Mohan
Divya Mohan - avatar