GithubHelp home page GithubHelp logo

viktoria-olo / project-library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technigo/project-library

0.0 0.0 0.0 2.57 MB

A JavaScript application that displays books. Allows for filtering based on genre, alphabetical sorting, sorting based on publishing date, as well as a random book generator.

Home Page: https://sparkling-cajeta-657abb.netlify.app/

JavaScript 68.28% HTML 15.48% CSS 16.24%
css3 html5 javascript

project-library's Introduction

Bookworm Haven Library

The assignment was to build a digital library using an array of objects.Through the use of DOM manipulation, event handling, functions, conditionals, variables, as well as object and array manipulation, the site should allow the user to filer and sort the books based on certain criteria.

I decided to use the array of books to create the Bookworm Haven Library.

The problem

I first created the basic skeleton using html and css. I then looked at resorces explaining array, array methods, and objects, both from Technigo and from other sources. Previous team exercises proved very useful, as I could reuse some of the code, like the getRandomNum function. I decided to use the figma example from Technigo as a basis for my design.

The next step was to start working on the funcions. Once the main functions were in place, I started to look at how I could break out some of the code into their own functions that could be reused for multiple events, such as the genre filter buttons. I also added dropdown menus for mobile view, as it was too crowded with all the buttons. Some styling was done throughout the process, but mostly once the main functions were in place.

If I had had more time I would have tried out adding the search bar, as well as broken out more code into their own functions.

View it live

https://main--sparkling-cajeta-657abb.netlify.app/

project-library's People

Contributors

viktoria-olo avatar antonellamorittu avatar hippiekick 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.