window.addEventListener('load', async () => {
const url = "https://gitlab.site.ru/test/-/raw/30527fe668d5b5f5be59fa7d6b6716/data_attempts.json";
try {
const response = await fetch(url, {method: 'GET'});
const json = await response.json();
console.log(json.values);
} catch (error) {
console.error('Ошибка:', error);
}
})