Code Monkey home page Code Monkey logo

dwd-a3's Introduction

Image Loops

An image search engine from Flickr. Play it here. Logo

About

The image loops take images from Flickr and show only 10 pictures when you search.

Setup

Clone and repo and open your index.html.

Prerequisites

To make a good readme the following prerequisites are necessary:

  1. VS Code
  2. CSS,HTML,Javascript knowledge.

Installation

For this particular project, there are no specific installation requirements.

Deployment

This project is hosted on Github.

Built with

Authors

Notes & Process

I wanted to work with audio and images. However, in this homework assignement, I did not acheive so. It takes quite a long time to navigate and learn what Javascript has to offer. I am beginning to see the conveinence of using Javascript to make lots of things happen. For instance, I used forEach to replace for loops. Also, the arrow functions really helped.

Process & Documentation

I struggled a lot with Javascript and CSS since there are so much room for improvements. In working with images, I wanted to create a grid that show all the images. However, I was struggling with flex box, grid creation in CSS. Also, most of the cases, I need to create div as a container for a paragraph or a button.

This is a process of trail and errors and some ideas come along when I was creating this website. I originally had a button to submit the user input. However, I wanted to create a smooth interaction, therefore, I searched for the keydown function and replaced the button with Enter key.

Also, I learned how simple it is to createElements and add tags in Javascript. It takes a while to wrap my head around but it is worthy and convenient for me in the end.

I am half satisfied with my CSS effort. With the help of the horizontal scrolling tutorial, I was able to make the scrolling smooth. I felt my CSS is not as strong. I had to search for the website for multiple outcomes. For instance, I wanted to increase the font size of the placeHolder content in the textbox. The back-and-forth searching makes me feel like I have a long way to go. But I am excited since now I have a goal to create websites that are music and image related.

Challenges & Struggles

  • Flickr API takes time for me to figure out elements needed. I tried to use Flickr Scraper yet failed to do so. So I went the old school way to deconstruct the API link in my js code.
  • Couldn't update images based on new user input. The images will pile up at the end of the array rather than at the top. Therefore, users would have to scroll till the end to see the new images.

References

dwd-a3's People

Contributors

yitingliu97 avatar

Watchers

 avatar  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.