Skip to content

About

This is a solution to the Project: Library on The Odin Project.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

The Odin Project - Library solution

This is a solution to the Project: Library on The Odin Project.

Table of contents

Overview

The challenge

Features:

  • Search book(s)
  • Add book(s)
  • Remove book(s)
  • Edit a book's information
  • Change a book's read status

Screenshot

Preview Library

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

I learned to create object constructor.

function Book(cover, title, vol, author, link, markAsRead, id) {
  if (!new.target) {
    throw Error("You must use the 'new' operator to call the constructor");
  }

  this.cover = cover;
  this.title = title;
  this.vol = vol;
  this.author = author;
  this.link = link;
  this.markAsRead = markAsRead;
  this.id = id;
}

Author

Acknowledgments

About

This is a solution to the Project: Library on The Odin Project.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages