forked from danielscarvalho/FTT-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaulajs29.html
More file actions
24 lines (19 loc) · 761 Bytes
/
Copy pathaulajs29.html
File metadata and controls
24 lines (19 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Aula 29</title>
<script src="js/stocks.js"></script>
<link rel="stylesheet" type="text/css" href="css/stocks.css">
</head>
<body>
<h1>JavaScript Aula 29</h1>
<h2>Consumir API com dados financeiros</h2>
<button onclick="getStock();">Get Stock</button>
<p><label>Stock ID: </label><input id="stockCode" type="text" required value="FB" placeholder="ORCL, ABB, GE, APLE, IBM ou FB..."></p>
<hr>
<div class="stock-name"></div>
<p>
Reference: <a href="https://financialmodelingprep.com/developer/docs/companies-key-stats-free-api/#Javascript">https://financialmodelingprep.com/developer/docs/companies-key-stats-free-api/#Javascript</a>
</p>
</body>
</html>