Coder Social home page Coder Social logo

lisaoude / gifinder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmda-minor-web/web-app-from-scratch-2021

0.0 0.0 0.0 1.6 MB

Gifinder: a web app which makes searching for gifs easy, using the Giphy API.

Home Page: https://gifinder-lisaoude.netlify.app/

License: MIT License

HTML 3.12% JavaScript 69.68% CSS 27.20%

gifinder's Issues

General tip

If you're new to js, some function variables and parameters may be unfamiliar to you.

For example

function (e)

means:

function (event)
fetch(url).then(res)

means:

fetch(url).then(response)

Sometimes its easier to write things out in the beginning so that you become familiar with these names and afterwards use the shorthand

Peer review - Live Demo

Feedback

  • There is no Actor Diagram and Interaction Diagram available yet so I have no idea if it matches your code. 😞
  • Based on your explanation in your README, it is clear what I could expect with your live demo. βœ…
  • I myself would have made the application a bit more exciting. But maybe you can still do this (even if it's small things) and maybe still focus on the styling? I know that you are good with styling and CSS ! πŸ‘ πŸ‘

To Solve This Issue:

  • Make your site a bit more exciting (styling / general concept).

Peer review - Live Demo

It works!
The concept is pretty simple. You could definitely spice up your styling with some css!

Peer review - Code

Feedback

  • No idea if your code is structured according to your diagrams as they are not yet in your readme. 😞
  • It is better to put your script tag in your body at the bottom. Because you give the reason that you have to wait for the html elements. But you load your html elements with JavaScript. πŸ˜„
  • In your main.js you have a comment: 'this function shows the trending gifs'. But I think the 'start' function does not specifically show the trending gifs but rather invokes your router. πŸ˜‰
  • You now have an index.js file within your modules views folder that you don't use. I think you can remove these. πŸ˜„
  • Do you only have 1 component called gifs.js?
  • Are your views, config and components just modules?
  • I wonder if you understand all your code correctly yourself... 🀯

To Solve This Issue:

  • Add script tag to bottom of body tag in HTML.
  • Add comments that make sense for your code.
  • Remove your index.js file within your modules views folder.
  • Try to take a look at what modules are, what components are and how your code actually works.

Peer Review - Sanne 12 feb

Algemeen/repo

  • Read me goede manier om alles bij te houden! handig dat je een to do list voor jezelf hebt gemaakt.
  • Api/concept is beschreven en de link naar de live demo staat er ook! :)
  • Je mist alleen nog een description bij de repo waar ook je link staat zeg maar.
  • Voor volgende keer: include actor en interaction diagram :)
  • Live demo werkt, ik verwachtte precies wat ik dacht.

Code

  • const init (in main.js) ik snap zelf de benaming init niet 😬, misschien dat je dat search noemt? dan wordt het iets duidelijker.
  • Verder ziet je code er netjes uit, ik snap wat er gebeurt! 😊
  • De actors zijn helder, main.js (zoeken naar specifieke gif), fetchData (haalt de data uit Api), printGifs (rendert data in html), die nu worden geΓ―mporteerd naar main.
  • Als tip misschien bovenin elke script bestand in module nog een comment aangeven wat er binnen dat script gebeurd. Handig voor jezelf voor later πŸ˜„
  • Code is consistent overal zelfde methode!

Peer review - repo

  • Link to demo
  • The description is a bit short on the concept
  • The used api is not described in the readme
  • Place an image of the actor and interaction diagrams in the readme

So usually what shouldn't be in a repo is your weekly log and the process of making your app. The readme must contain the following:

  • Description of Concept
  • If there is an API, description of API
  • Actor and interaction diagram (this assignment)
  • If you need to install this project, an installation guide i.e. npm install etc.
  • Acknowledgments (shoutouts to the people who helped you make this)

The rest of your documentation should be placed inside a wiki

Peer review - Repository

Feedback

  • There is a link at the top right to the live demo. βœ…
  • You have described your concept (being able to search for gifs). βœ… Maybe if you have the time and desire you can expand this concept a bit so that it becomes a bit more exciting (a button to save gifs for example). πŸ˜„
  • The API is described in the README file, but maybe you can tell a bit more about it. Consider, for example: How did you use the API to load the GIFs, how did you use the API so that the user can search for the GIFs, etc.
  • The actor & interaction diagram is not yet available. 😞

General tips:

  • Try to say in your README file how people can download / use your repo. Maybe you have used a package that makes downloading your repo only not work on someone else's computer. πŸ˜„
  • Maybe you can show in your README file which sources you have used. πŸ˜ƒ
  • When making commits, try to describe briefly and clearly what you have changed for yourself. I also see commits with 'IT WORKS' 'Changed many many many things'. This makes it difficult for you to review your work later. 😸

To Solve This Issue:

  • Describe a little more how you use your API.
  • Add the Actor Diagram to your README file.
  • Add the Interaction Diagram to your README file.
  • Add resources to your README.
  • Describe how someone else can download your repo.

Keep variable writing style consistentπŸ€“πŸ€“πŸ€“

In your code you have:

const gifContainer = document.querySelector('.gifContainer')
const input = document.querySelector('.gifType')
const form = document.querySelector('.gifForm')

and

    const
        endpoint = 'https://api.giphy.com/v1/gifs/search?q=',
        key = 'JzbS3qH49ykiVKnHZx0z5M0gjNPVMbh3',
        limit = 20,
        url = `${endpoint}${inputValue}&api_key=${key}&limit=${limit}`

Try to keep your code consistent by using one of the two styles, so with writing all the consts/lets/vars or one var and then ,

Peer review - Code

  • Complete actor diagram is missing
  • Interaction diagram is missing

Code quality

  • For someone who is new to coding, your code looks very clean, I'm impressedπŸ€“πŸ‘
  • Code is written the same way in different places
  • Code follows naming conventions

peer review week 1

Algemeen

Nog geen app beschrijving in de readme, overall structuur is netjes en de github pages link werkt. πŸ‘πŸ»
Je zou nog even kunnen kijken naar het geven van een beschrijving van een commit. Op die manier kan je makkelijk zien wat er in die commit allemaal veranderd is, als je alleen werkt niet super relevant maar heel handig in een team

HTML

HTML is semantisch correct, je zou eventueel je gifContainer in een section veranderen.

CSS

Er is nog geen duidelijk ontwerp maar de CSS die er is ziet er netjes uit

JS

Opbouw is logisch, er staan geen comments in wat kan helpen met het begrijpen van de code voor jou en andere. Verder erg netjes

General TipπŸ€“πŸ€“πŸ€“πŸ€“

πŸ€“

If you're new to js, some function variables and parameters may be unfamiliar to you.

For example

function (e)

means:

function (event)
fetch(url).then(res)

means:

fetch(url).then(response)

Feedback 12 feb Lotte

Goede read me, alles staat er in. Als je in elements.js een functie maakt om je const's heen, dan hoef je alleen die functie te exporteren en niet al die variabelen. Zo heb ik t gedaan iig. Je fetchDtata.js ziet er goed uit. Goed dat je je link zo hebt opgesplitst in key, limit etc. Op je live demo werkt je zoek button maar een keer en je kan niet terug, dus miss een terug knop of een manier vinden om die zoek knop dan ook weer te laten werken. En als je nu naar je website gaat staat er geen content totdat je zoekt. Miss een meest populaire gifs lijst als 'home page'.

The good stuff

πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“
Code is pretty clean, there are some small inconsistencies but overall really nice
πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“

πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“
HTML is semantic!
πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“

πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“
You rewrote your readme!
πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“πŸ€“

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.