Author Topic: Java Script 11 Dan 22 OBJEKTI DOM EVENT domaci KNJIGE  (Read 1712 times)

0 Members and 1 Guest are viewing this topic.

Offline efko

  • Administrator
  • Full Member
  • *
  • Topic Author
  • Posts: 1206
  • Country: cs
  • Karma: +18/-1
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Java Script 11 Dan 22 OBJEKTI DOM EVENT domaci KNJIGE
« on: 29 October 2025, 23:54:08 »
DOM EVENT domaci za Dan 21 OBJEKTI KNJIGE

Spoiler for ZADATAK:

Domaci-objekti
Zahtevi:
Prikaz podataka o knjigama: Napišite metodu koja vraća niz naslova svih
knjiga dostupnih u biblioteci.
Filtriranje dostupnih knjiga: Napišite metodu koja vraća sve knjige koje
imaju više od 3 primerka dostupnih u biblioteci.
Provera statusa članstva: Napišite metodu koja proverava da li je
određeni član biblioteke sa zadatim memberId još uvek aktivan.
Dodavanje nove knjige: Napišite metodu koja dodaje novu knjigu u
biblioteku. Metoda treba da prihvati parametre
za bookId, title, author, genres, i copies. Nakon dodavanja knjige, metoda
treba da ažurira objekat library.
Ažuriranje broja primeraka: Napišite metodu koja ažurira broj primeraka
knjige sa zadatim bookId. Ako knjiga već postoji u biblioteci, funkcija treba
da poveća broj primeraka za zadatu vrednost. Ako knjiga ne postoji,
funkcija treba da vrati poruku da knjiga nije pronađena.
Transformacija podataka o članovima: Napišite metodu koja kreira novi
niz objekata sa podacima o članovima, ali samo
sa memberId i name poljima.
Ukupno primeraka knjiga: Napišite metodu koja vraća ukupan broj
primeraka svih knjiga u biblioteci.
Prikaz aktivnih članova: Napišite metodu koja vraća niz imena svih
članova čije je članstvo aktivno.
Proveravanje knjiga koje nisu vraćene: Napišite metodu koja vraća niz
naslova knjiga koje nisu vraćene u biblioteku.
Kreiranje novog objekta sa određenim podacima: Napišite metodu koja
vraća novi objekat sa informacijama o biblioteci, ali samo sa podacima
o name, location, i broju članova sa aktivnim članstvom.
Dodatni zahtevi (nisu obavezni):
Loš način korišćenja metoda: Metode koje imaju parametre dodatno
proširite logikom u slučaju lošeg prosleđivanja argumenta ili izostanka
istog.
Nedostatak podataka: Ukoliko zahtevamo neki podatak koji ne postoji,
nemojte samo da vratite praznu listu, objekat ili slično.
U nastavku je objekat sa kojim cete raditi.
const library = {
name: "Central City Library",
location: {
street: "Library Avenue 5",
city: "Metropolis",
state: "NY",
postalCode: "10001",
},
books: [
{
bookId: "B001",
title: "JavaScript: The Good Parts",
author: "Douglas Crockford",
genres: ["Programming", "Technology"],
copies: 5,
borrowed: [
{ memberId: "M001", date: "2023-07-14", returned: false },
{ memberId: "M002", date: "2023-07-20", returned: true },
],
},
{
bookId: "B002",
title: "Clean Code",
author: "Robert C. Martin",
genres: ["Programming", "Best Practices"],
copies: 3,
borrowed: [{ memberId: "M003", date: "2023-08-01", returned: true }],
},
{
bookId: "B003",
title: "The Pragmatic Programmer",
author: "Andrew Hunt",
genres: ["Programming", "Development"],
copies: 4,
borrowed: [],
},
],
members: [
{
memberId: "M001",
name: "John Doe",
email: "john.doe@example.com",
membershipActive: true,
},
{
memberId: "M002",
name: "Jane Smith",
email: "jane.smith@example.com",
membershipActive: false,
},
{
memberId: "M003",
name: "Emily Johnson",
email: "emily.johnson@example.com",
membershipActive: true,
},
],



Code: [Select]

const library = {
name: "Central City Library",
location: {
street: "Library Avenue 5",
city: "Metropolis",
state: "NY",
postalCode: "10001",
},
books: [
{
bookId: "B001",
title: "JavaScript: The Good Parts",
author: "Douglas Crockford",
genres: ["Programming", "Technology"],
copies: 5,
borrowed: [
{ memberId: "M001", date: "2023-07-14", returned: false },
{ memberId: "M002", date: "2023-07-20", returned: true },
],
},
{
bookId: "B002",
title: "Clean Code",
author: "Robert C. Martin",
genres: ["Programming", "Best Practices"],
copies: 3,
borrowed: [{ memberId: "M003", date: "2023-08-01", returned: true }],
},
{
bookId: "B003",
title: "The Pragmatic Programmer",
author: "Andrew Hunt",
genres: ["Programming", "Development"],
copies: 4,
borrowed: [],
},
],
members: [
{
memberId: "M001",
name: "John Doe",
email: "john.doe@example.com",
membershipActive: true,
},
{
memberId: "M002",
name: "Jane Smith",
email: "jane.smith@example.com",
membershipActive: false,
},
{
memberId: "M003",
name: "Emily Johnson",
email: "emily.johnson@example.com",
membershipActive: true,
},
],






Spoiler for HTML:
Code: [Select]

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="main.js" defer></script>
  </head>
  <body></body>
</html>





Spoiler for main JS:
Code: [Select]

"use strict";
const library = {
  name: "Central City Library",
  location: {
    street: "Library Avenue 5",
    city: "Metropolis",
    state: "NY",
    postalCode: "10001",
  },
  books: [
    {
      bookId: "B001",
      title: "JavaScript: The Good Parts",
      author: "Douglas Crockford",
      genres: ["Programming", "Technology"],
      copies: 5,
      borrowed: [
        { memberId: "M001", date: "2023-07-14", returned: false },
        { memberId: "M002", date: "2023-07-20", returned: true },
      ],
    },
    {
      bookId: "B002",
      title: "Clean Code",
      author: "Robert C. Martin",
      genres: ["Programming", "Best Practices"],
      copies: 3,
      borrowed: [{ memberId: "M003", date: "2023-08-01", returned: true }],
    },
    {
      bookId: "B003",
      title: "The Pragmatic Programmer",
      author: "Andrew Hunt",
      genres: ["Programming", "Development"],
      copies: 4,
      borrowed: [],
    },
  ],
  members: [
    {
      memberId: "M001",
      name: "John Doe",
      email: "john.doe@example.com",
      membershipActive: true,
    },
    {
      memberId: "M002",
      name: "Jane Smith",
      email: "jane.smith@example.com",
      membershipActive: false,
    },
    {
      memberId: "M003",
      name: "Emily Johnson",
      email: "emily.johnson@example.com",
      membershipActive: true,
    },
  ],
  allBooksTitles: function () {
    return this.books.map((book) => book.title);

    //II nacin
    //     function filteredByTitle(book) {
    //       return book.title;
    //     }
    //     return this.books.map(filteredByTitle);
  },
  moreThanThreeBookCopies: function (n) {
    // I nacin - vraca ceo obj book
    // return this.books
    //   .filter((book) => book.copies > n)

    //I nacin - vraca samo naslove
    // return this.books
    //   .filter((book) => book.copies > n)
    //   .map((book) => book.title);

    //II nacin

    const result = [];
    for (let book of this.books) {
      if (book.copies > n) {
        result.push(book);
      }
    }
    return result;
    // return result.map((book) => book.title);
  },
  isMemberActiv: function (id) {
    const member = this.members.find((clan) => clan.memberId === id);
    console.log(member);

    if (member) {
      return `Is membership active for member ${member.name}: ${member.membershipActive}`;
    } else {
      return `This member is not found!`;
    }
  },
  addNewBook(bookId, title, author, genres, copies) {
    return this.books.push({
      bookId: bookId,
      title: title,
      author: author,
      genres: genres,
      copies: copies,
      borrowed: [],
    });
  },
  updateBookCopies: function (id, numOfCopies) {
    const book = this.books.find((book) => book.bookId === id);
    book ? (book.copies += numOfCopies) : alert("Book is not found!");
  },
  transformedMembers() {
    return this.members.map((member) => {
      return {
        userId: member.memberId,
        userName: member.name,
      };
    });
  },
  allBooksCopies() {
    // return this.books
    //   .map((book) => book.copies)
    //   .reduce((acc, curr) => acc + curr, 0);

    //II nacin
    let zbir = 0;
    for (const book of this.books) {
      zbir += book.copies;
    }
    return zbir;
  },
  getAllActiveMembers: function () {
    return this.members
      .filter((member) => member.membershipActive)
      .map((member) => member.name);
  },
  getAllUnreturnedBooks() {
    const result = [];
    // this.books.forEach((book) => {
    //   if (book.borrowed.length) {
    //     book.borrowed.forEach((obj) => {
    //       if (!obj.returned) result.push(book.title);
    //     });
    //   }
    // });
    // return result;

    //II nacin

    for (const book of this.books) {
      if (book.borrowed.length) {
        for (const obj of book.borrowed) {
          if (obj.returned) {
            console.log(book.title, "is returned");
          } else {
            result.push(book.title);
          }
        }
      }
    }
    return result;
  },
  getLibraryInfo: function () {
    return {
      libraryName: this.name,
      libraryLocation: this.location,
      activeMembers: this.getAllActiveMembers().length,
    };
  },
};

console.log(library.allBooksTitles());
console.log(library.moreThanThreeBookCopies(3));
console.log(library.isMemberActiv("M003"));
library.addNewBook("B005", "How to write C", "John Simons", ["Programming"], 8);
console.log(library);
library.updateBookCopies("B002", 5);
console.log(library);
console.log(library.transformedMembers());
console.log(library.allBooksCopies());
console.log(library.getAllActiveMembers());
console.log(library.getAllUnreturnedBooks());
console.log(library.getLibraryInfo());






"use strict";
const library = {
  name: "Central City Library",
  location: {
    street: "Library Avenue 5",
    city: "Metropolis",
    state: "NY",
    postalCode: "10001",
  },
  books: [
    {
      bookId: "B001",
      title: "JavaScript: The Good Parts",
      author: "Douglas Crockford",
      genres: ["Programming", "Technology"],
      copies: 5,
      borrowed: [
        { memberId: "M001", date: "2023-07-14", returned: false },
        { memberId: "M002", date: "2023-07-20", returned: true },
      ],
    },
    {
      bookId: "B002",
      title: "Clean Code",
      author: "Robert C. Martin",
      genres: ["Programming", "Best Practices"],
      copies: 3,
      borrowed: [{ memberId: "M003", date: "2023-08-01", returned: true }],
    },
    {
      bookId: "B003",
      title: "The Pragmatic Programmer",
      author: "Andrew Hunt",
      genres: ["Programming", "Development"],
      copies: 4,
      borrowed: [],
    },
  ],
  members: [
    {
      memberId: "M001",
      name: "John Doe",
      email: "john.doe@example.com",
      membershipActive: true,
    },
    {
      memberId: "M002",
      name: "Jane Smith",
      email: "jane.smith@example.com",
      membershipActive: false,
    },
    {
      memberId: "M003",
      name: "Emily Johnson",
      email: "emily.johnson@example.com",
      membershipActive: true,
    },
  ],
  allBooksTitles: function () {
    return this.books.map((book) => book.title);

    //II nacin
    //     function filteredByTitle(book) {
    //       return book.title;
    //     }
    //     return this.books.map(filteredByTitle);
  },
  moreThanThreeBookCopies: function (n) {
    // I nacin - vraca ceo obj book
    // return this.books
    //   .filter((book) => book.copies > n)

    //I nacin - vraca samo naslove
    // return this.books
    //   .filter((book) => book.copies > n)
    //   .map((book) => book.title);

    //II nacin

    const result = [];
    for (let book of this.books) {
      if (book.copies > n) {
        result.push(book);
      }
    }
    return result;
    // return result.map((book) => book.title);
  },
  isMemberActiv: function (id) {
    const member = this.members.find((clan) => clan.memberId === id);
    console.log(member);

    if (member) {
      return `Is membership active for member ${member.name}: ${member.membershipActive}`;
    } else {
      return `This member is not found!`;
    }
  },
  addNewBook(bookId, title, author, genres, copies) {
    return this.books.push({
      bookId: bookId,
      title: title,
      author: author,
      genres: genres,
      copies: copies,
      borrowed: [],
    });
  },
  updateBookCopies: function (id, numOfCopies) {
    const book = this.books.find((book) => book.bookId === id);
    book ? (book.copies += numOfCopies) : alert("Book is not found!");
  },
  transformedMembers() {
    return this.members.map((member) => {
      return {
        userId: member.memberId,
        userName: member.name,
      };
    });
  },
  allBooksCopies() {
    // return this.books
    //   .map((book) => book.copies)
    //   .reduce((acc, curr) => acc + curr, 0);

    //II nacin
    let zbir = 0;
    for (const book of this.books) {
      zbir += book.copies;
    }
    return zbir;
  },
  getAllActiveMembers: function () {
    return this.members
      .filter((member) => member.membershipActive)
      .map((member) => member.name);
  },
  getAllUnreturnedBooks() {
    const result = [];
    // this.books.forEach((book) => {
    //   if (book.borrowed.length) {
    //     book.borrowed.forEach((obj) => {
    //       if (!obj.returned) result.push(book.title);
    //     });
    //   }
    // });
    // return result;

    //II nacin

    for (const book of this.books) {
      if (book.borrowed.length) {
        for (const obj of book.borrowed) {
          if (obj.returned) {
            console.log(book.title, "is returned");
          } else {
            result.push(book.title);
          }
        }
      }
    }
    return result;
  },
  getLibraryInfo: function () {
    return {
      libraryName: this.name,
      libraryLocation: this.location,
      activeMembers: this.getAllActiveMembers().length,
    };
  },
};

console.log(library.allBooksTitles());
console.log(library.moreThanThreeBookCopies(3));
console.log(library.isMemberActiv("M003"));
library.addNewBook("B005", "How to write C", "John Simons", ["Programming"], 8);
console.log(library);
library.updateBookCopies("B002", 5);
console.log(library);
console.log(library.transformedMembers());
console.log(library.allBooksCopies());
console.log(library.getAllActiveMembers());
console.log(library.getAllUnreturnedBooks());
console.log(library.getLibraryInfo());

discord: efko#5979
╚►They say "Before you die your whole life flashes before your eyes…". Make it worth watching. It's true, even for a blind man... ◄╝
              ╚►It is said some lives are linked across time, connected by an ancient calling that echoes through the ages ◄╝

Offline efko

  • Administrator
  • Full Member
  • *
  • Topic Author
  • Posts: 1206
  • Country: cs
  • Karma: +18/-1
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: Java Script 11 Dan 22 OBJEKTI DOM EVENT zadatak TODO LIST
« Reply #1 on: 29 October 2025, 23:59:32 »
zadatak TODO LIST

Spoiler for HTML:
Code: [Select]

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="style.css" />
    <script src="main.js" defer></script>
  </head>
  <body>
    <div class="container">
      <h1>ToDo list</h1>
      <input type="text" placeholder="Enter a new task" name="task" />
      <button>Add task</button>
      <ul></ul>
    </div>
  </body>
</html>






Spoiler for CSS:
Code: (style CSS) [Select]

* {
  box-sizing: border-box;
}
body {
  background-color: rgb(125, 125, 154);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.container {
  width: 40%;
  background-color: whitesmoke;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}
input {
  width: 90%;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  padding: 0.5rem;
}

button {
  width: 90%;
  margin-bottom: 0.5rem;
  background-color: rgb(0, 129, 86);
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
}

ul {
  width: 90%;
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
ul li p {
  font-size: 12px;
  margin: 0;
}

.btnDelete {
  width: 50px;
  height: 30px;
  background-color: red;
  color: white;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.completed {
  text-decoration: line-through;
}






Spoiler for JS:
Code: (main JS) [Select]

const inputTaskElement = document.getElementsByTagName("input")[0];
// console.log(inputTask);
const buttonAddTask = document.getElementsByTagName("button")[0];
// console.log(buttonAddTask);
const ulListEl = document.getElementsByTagName("ul")[0];

buttonAddTask.addEventListener("click", function (event) {
  const inputValue = inputTaskElement.value;
  //   console.log(inputValue);
  handlerFunction(inputValue);
});

inputTaskElement.addEventListener("keyup", function (event) {
  //   console.log(event.target.value);
  if (event.key === "Enter") {
    handlerFunction(event.target.value);
  }
});

function handlerFunction(valueOfInput) {
  if (valueOfInput) {
    createElement(valueOfInput);
    resetInput();
  } else {
    alert("Niste uneli vrednost u input polje!");
  }
}

function createElement(value) {
  const liElement = document.createElement("li");
  const paragraph = document.createElement("p");
  const buttonDelete = document.createElement("button");

  paragraph.textContent = value;
  paragraph.addEventListener("click", function () {
    //I nacin
    // if (this.classList.contains("completed")) {
    //   this.classList.remove("completed");
    // } else {
    //   this.classList.add("completed");
    // }

    //II nacin
    // if (this.classList.length === 0) {
    //   this.classList.add("completed");
    // } else {
    //   this.classList.remove("completed");
    // }

    //III nacin

    this.classList.toggle("completed");
  });

  buttonDelete.innerText = "Delete";
  buttonDelete.classList.add("btnDelete");

  buttonDelete.addEventListener("click", function (event) {
    this.parentElement.remove();
  });

  liElement.appendChild(paragraph);
  liElement.appendChild(buttonDelete);

  ulListEl.appendChild(liElement);
}

function resetInput() {
  inputTaskElement.value = "";
}







<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="style.css" />
    <script src="main.js" defer></script>
  </head>
  <body>
    <div class="container">
      <h1>ToDo list</h1>
      <input type="text" placeholder="Enter a new task" name="task" />
      <button>Add task</button>
      <ul></ul>
    </div>
  </body>
</html>









* {
  box-sizing: border-box;
}
body {
  background-color: rgb(125, 125, 154);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.container {
  width: 40%;
  background-color: whitesmoke;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}
input {
  width: 90%;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  padding: 0.5rem;
}

button {
  width: 90%;
  margin-bottom: 0.5rem;
  background-color: rgb(0, 129, 86);
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
}

ul {
  width: 90%;
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
ul li p {
  font-size: 12px;
  margin: 0;
}

.btnDelete {
  width: 50px;
  height: 30px;
  background-color: red;
  color: white;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.completed {
  text-decoration: line-through;
}








const inputTaskElement = document.getElementsByTagName("input")[0];
// console.log(inputTask);
const buttonAddTask = document.getElementsByTagName("button")[0];
// console.log(buttonAddTask);
const ulListEl = document.getElementsByTagName("ul")[0];

buttonAddTask.addEventListener("click", function (event) {
  const inputValue = inputTaskElement.value;
  //   console.log(inputValue);
  handlerFunction(inputValue);
});

inputTaskElement.addEventListener("keyup", function (event) {
  //   console.log(event.target.value);
  if (event.key === "Enter") {
    handlerFunction(event.target.value);
  }
});

function handlerFunction(valueOfInput) {
  if (valueOfInput) {
    createElement(valueOfInput);
    resetInput();
  } else {
    alert("Niste uneli vrednost u input polje!");
  }
}

function createElement(value) {
  const liElement = document.createElement("li");
  const paragraph = document.createElement("p");
  const buttonDelete = document.createElement("button");

  paragraph.textContent = value;
  paragraph.addEventListener("click", function () {
    //I nacin
    // if (this.classList.contains("completed")) {
    //   this.classList.remove("completed");
    // } else {
    //   this.classList.add("completed");
    // }

    //II nacin
    // if (this.classList.length === 0) {
    //   this.classList.add("completed");
    // } else {
    //   this.classList.remove("completed");
    // }

    //III nacin

    this.classList.toggle("completed");
  });

  buttonDelete.innerText = "Delete";
  buttonDelete.classList.add("btnDelete");

  buttonDelete.addEventListener("click", function (event) {
    this.parentElement.remove();
  });

  liElement.appendChild(paragraph);
  liElement.appendChild(buttonDelete);

  ulListEl.appendChild(liElement);
}

function resetInput() {
  inputTaskElement.value = "";
}


discord: efko#5979
╚►They say "Before you die your whole life flashes before your eyes…". Make it worth watching. It's true, even for a blind man... ◄╝
              ╚►It is said some lives are linked across time, connected by an ancient calling that echoes through the ages ◄╝

Offline efko

  • Administrator
  • Full Member
  • *
  • Topic Author
  • Posts: 1206
  • Country: cs
  • Karma: +18/-1
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Java Script 11 Dan 22 OBJEKTI DOM EVENT zadatak MOVIES
« Reply #2 on: 30 October 2025, 00:04:30 »
Zadatak MOVIES - uradjen HTML i CSS i pocetak za JS.
Ceo zadatak uradjen narednog dana i bio kao domaci.

Spoiler for HTML:
Code: [Select]

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="main.js" defer></script>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="main">
      <p>UNESI SVOJ FILM</p>
      <input type="text" />
      <div class="mainbody">
        <div class="container movielist">
          <h4>HOCU DA GLEDAM</h4>
          <ul class="wanttowatch"></ul>
          <button class="btnclear">CLEAR MOVIE LIST</button>
        </div>
        <div class="container watchedlist">
          <h4>ODGLEDANI 😘</h4>
          <ul class="watched"></ul>
          <button class="btnclear">CLEAR WATCHED LIST</button>
        </div>
      </div>
    </div>
  </body>
</html>






Spoiler for CSS:
Code: (style CSS) [Select]

.container {
  width: 50%;
  /* height: 60%;*/
  background-color: antiquewhite;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main {
  width: 60vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
p {
  margin: 0;
}
.mainbody {
  display: flex;
  gap: 10px;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: rgb(180, 133, 224);
}
ul {
  padding: 0;
  margin: 0;
  width: 100%;
}
ul li {
  list-style: none;
  width: 100%;
  text-align: center;
}
.btnclear {
  padding: 10px;
  margin: 20px;
}






Spoiler for JS:
Code: (main JS) [Select]

const inputBox = document.getElementsByTagName("input")[0];
console.log(inputBox);
const movieList = document.getElementsByClassName("wanttowatch")[0];
console.log(movieList);
const watchedList = document.getElementsByClassName("watched")[0];
console.log(watchedList);
function createMovie(value) {
  const liElement = document.createElement("li");
}




discord: efko#5979
╚►They say "Before you die your whole life flashes before your eyes…". Make it worth watching. It's true, even for a blind man... ◄╝
              ╚►It is said some lives are linked across time, connected by an ancient calling that echoes through the ages ◄╝

Tags:
 


SimplePortal 2.3.7 © 2008-2026, SimplePortal