【发布时间】:2021-01-01 17:46:39
【问题描述】:
我遇到过这个演示 http://jsfiddle.net/JMPerez/0u0v7e1b/ 即使用 spotify API 搜索艺术家。 我已经尝试了很多尝试,但无法让它发挥作用。 有关如何工作的任何指示?
来自演示的 HTML 代码:
<div class="container">
<h1>Search for an Artist</h1>
<p>Type an artist name and click on "Search". Then, click on any album from the results to play 30 seconds of its first track.</p>
<form id="search-form">
<input type="text" id="query" value="" class="form-control" placeholder="Type an Artist Name"/>
<input type="submit" id="search" class="btn btn-primary" value="Search" />
</form>
<div id="results"></div>
【问题讨论】:
标签: javascript html css api spotify