use camera javascript code example Example: javascript use camera <input type="file" accept="image/*;capture=camera">