Is this possible :
A web page (index.html) is run locally . It checks is a directory in the root of the web folder exists .
Eg Root has an index.html and a folder called test.
The webpage would check for test to exist. If it does then a div called test-info will be shown on the index page. If it dosent then another dive called error is shown.
Is this possible with JavaScript?