Coder Social home page Coder Social logo

library's Introduction

library

A project in The Odin Project to practice using objects and constructor functions.

Live Site: https://itsaflamingo.github.io/library/

Assignment Instructions: https://www.theodinproject.com/lessons/node-path-javascript-library

Skills used: JS:

  • constructor functions
  • DOM manipulation
  • Array methods.
  • Retrieving form information.

HTML/CSS:

  • create pop-ups using transform/scale/transition/overlay
  • Created dynamic webpage using grid/flexbox
  • Made responsive with auto-fit, minmax, clamp
  • created CSS variables

Challenges:

  • Dividing up array into sections so I can remove the title, author, and page numbers. In the end I used the form to retrieve the individual pieces. (I did figure out how to divide the array into sections using .join + .split + .shift, and then using conditionals to select the three relevant components, but thought using the form was cleaner.)
  • Adding click events to dynamically created divs. I solved the problem by adding an event listener to the body, and then targeting the buttons using e.target.id.
  • Adding the modal, this was my first time using transform/scale/transition/overlay

library's People

Contributors

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