Skip to content
Permalink
Browse files

added js file with some basic const variables

  • Loading branch information...
equk committed Jul 31, 2018
1 parent a279fd7 commit 40692d7a70fccf09222ed0b93825d1c74bef01dd
Showing with 6 additions and 0 deletions.
  1. +1 −0 public/index.html
  2. +5 −0 public/js/app.js
@@ -18,5 +18,6 @@ <h1>Unsplash Search</h1>
<section class="images">
</section>
<div class="createdby"><p>created by <a href="https://github.com/equk">equk</a></p></div>
<script src="js/app.js"></script>
</body>
</html>
@@ -0,0 +1,5 @@
const API_CLIENTID = '-insert-your-api-key-'
const form = document.querySelector('form');
const input = document.querySelector('input');
const imageSection = document.querySelector('.images');
const API_URL = `https://api.unsplash.com/search/photos?page=1&per_page=20&client_id=${API_CLIENTID}`

0 comments on commit 40692d7

Please sign in to comment.
You can’t perform that action at this time.