Skip to content

Commit

Permalink
new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eylulozatman committed Nov 18, 2023
1 parent 3173d33 commit f412615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file removed images/bgfoto.avif
Binary file not shown.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function() {
const [companiesRes, phoneCodesRes, subjectsRes] = await Promise.all([
fetch('https://run.mocky.io/v3/42e20875-9439-4ba3-b5d9-7613b6d34733'),
fetch('https://run.mocky.io/v3/01187235-9fe2-431c-a46c-49e411574183'),
fetch('https://run.mocky.io/v3/e8572994-5439-4cce-b419-43acfe57247d')
fetch('https://run.mocky.io/v3/5bd816c2-e740-4244-a3e8-9b3fa2322662')
]);

const [companiesData, phoneCodesData, subjectsData] = await Promise.all([
Expand All @@ -43,7 +43,7 @@ document.addEventListener('DOMContentLoaded', function() {
}

if (subjectsRes.ok) {
populateSubjectsDropdown(subjectsData.subjects);
populateSubjectsDropdown(subjectsData.courses);
} else {
console.error("Failed to fetch subjects data");
}
Expand Down
2 changes: 1 addition & 1 deletion success.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<title>Document</title>
</head>
<body>
<h1>WELCOME</h1>
<h1>Form is submitted!' </h1>
</body>
</html>

0 comments on commit f412615

Please sign in to comment.