Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
<title>Document</title>
</head>
<body>
<h1>Test</h1>
<header>
<nav>
<i class="fa-solid fa-projector"></i>
<ul>
<li>Top binge-worthy shows</li>
<li>Best of 2022</li>
<li>Mark your Calender</li>
</ul>
</nav>
</header>
<button class="comment">comments</button>
</body>
</html>
2 changes: 1 addition & 1 deletion src/modules/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const showData = async (query) => {
const url = `https://api.tvmaze.com/search/shows?q=${query}`;
const url = `https://api.tvmaze.com/singlesearch/shows?q=${query}`;
const response = await fetch(url);
const data = await response.json();
return data;
Expand Down