GithubHelp home page GithubHelp logo

nkpe / dog-dictionary Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 87 KB

Dictionary of Dog breeds (data source : https://dog.ceo/dog-api/)

HTML 13.38% CSS 17.56% JavaScript 69.05%
api html-css http-requests javascript web-components

dog-dictionary's Introduction

Dog-Dictionary

Dictionary of Dog breeds (data source: https://dog.ceo/dog-api/)

How to run and view it

  • GitHub Pages - The website has been deployed to GitHub Pages and can be viewed here
  • Run Locally
    1. Install node.js using npm install http-server -g in the command line
    2. Inside the Dog-Dictionary folder, run run http-server -p 3000 in the command line
    3. To view - in Chrome or Firefox go to http://localhost:3000/ .

Testing

  • Browser compatibility - DogCard web component does not render in Safari browser. Website works well in Chrome, Firefox and Edge
  • Responsiveness - Works well on mobile and desktop. Tablet breakpoint to be implemented
  • Initial load time - currently initial load time is not optimised, so can be slow. However, this does mean that the results are loaded quicker when the 'load more' button is clicked.

Features to implement

  • Safari compatibility:
    • to ensure the web component renders.
  • Center images:
    • as each image is different in size, not all dogs may be showing. Centred images will have a higher chance of showing the dog.
  • Dog image popup:
    • on hover &/or click the full dog image pops up over the page, with button to close it.
  • Format breed names:
    • capitalise each breed and split name if necessary.
  • Random button
    • generate one dog breed/dog card
  • Different images:
    • either a button/refresh can call another set of images.
  • New pages:
    • Information on each breed.

Credits

Assets

  • Favicon & Logo - favicon.io
  • API data - Dog API. Source of breed information and images.

dog-dictionary's People

Contributors

nkpe avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.