Skip to content

FoumaneDonald/vanilla

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build an Image Search App:

Links for Accounts, Installations and References:

ACCOUNTS AND INSTALLATIONS

Please make sure you have these accounts created and verified, plus all the installations.

REFERENCES:

I will recommend you spent 5 mins on these concepts don't sweat it too, it is just for your awareness now.

Link to the finished app:

Image Search APP (VANILLAJS)


Visual Idea of the App:

example-site


Vanilla JS

the application will contact the unsplash Image Search API.

Image search API like Unsplash

https://api.unsplash.com/search/photos/

You will need an access key from unsplash.com. After signing up as a developper, create an application here:unsplash application link

All apps will use the skeleton CSS framework You can use the CDN link down here or just keep a minified version offline:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">

Use this style for the body:

body {
  width: 80%;
  margin: 2em auto 0 auto;
}

This app demonstrates:

  • User Input
  • DOM Events
  • API Requests
  • Conditional Rendering
  • Rendering Lists of Data

Vanilla JS


  • Add search form to page
  • Make API Request with search term when form is submitted
  • Show loading image
  • Append Results to the page
  • Hide loading image

About

Image Search App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.6%
  • HTML 30.3%
  • CSS 6.1%