Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions public/javascripts/genre.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Haoyang Ding => Nabil:
*
* Your code style is great. I need to learn how you name variables and functions
* It seems that you write a lot of code, the 'windows.location' things. Actually I think a relative url will work.
* But since I don't have your db url, I can't try it on your project.
* And for the space issue, you want to change it to %20. There are several methods called escape(), encodeURI(), encodeURIComponent()
* Maybe these functions would help.
*
* */


let reviewsContainer = document.querySelector("#reviewsContainer");
let genreTitle = document.querySelector("#genreTitle");
let imageObject = {
Expand Down