How to create sensing websites? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to create sensing websites?

it will adjust the brightness according to the brightness in the surroundings

23rd Mar 2019, 6:52 AM
B.D - avatar
2 Answers
+ 3
First you need to get the brightness information from a sensor. For example modern smartphones have ambient light sensors that you can access with API call.
24th Mar 2019, 8:22 AM
Tibor Santa
Tibor Santa - avatar
+ 2
It seems to me that it would be easier to create such an application than a website.
23rd Mar 2019, 2:52 PM
FloppaStar - avatar