Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ziada-oop-movie #180

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0709ec8
update mhd ziada pesudo code
mohamadziada Apr 9, 2021
815cb82
solve HTML Practice Mohamad Ziada
mohamadziada Apr 9, 2021
11e6376
update HTML Practice
mohamadziada Apr 10, 2021
4b8674c
delete the class-1 solutions to submit pesudo code
mohamadziada Apr 10, 2021
89d8477
update class-1
mohamadziada Apr 11, 2021
0d91e44
Merge branch 'class-1'
mohamadziada Apr 11, 2021
14e9820
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 11, 2021
e51bc41
solve the blogPage
mohamadziada Apr 11, 2021
09457ce
update class-2
mohamadziada Apr 13, 2021
cb5a624
change class one folder name
mohamadziada Apr 13, 2021
8b193b0
delete .ds-store file
mohamadziada Apr 13, 2021
4495b76
delete ds-store
mohamadziada Apr 13, 2021
38414d3
.DS_Store removed
mohamadziada Apr 13, 2021
b7d971f
.DS_Store removed
mohamadziada Apr 13, 2021
89078b8
resloving merge issue
mohamadziada Apr 21, 2021
15f0740
resolve merge conflict for class-2
mohamadziada Apr 21, 2021
28e0016
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 21, 2021
77e07d6
commiting intro js class4 mustafa & ziada
mohamadziada Apr 21, 2021
698fe8b
commit all class4 activities
mohamadziada Apr 21, 2021
2ec1e83
ziada & mustafa class 4 if function
mohamadziada Apr 21, 2021
8b2f2e1
ziada-mustafa-js-if-conditions update
mohamadziada Apr 21, 2021
a93567c
if condition ziada-mustafa and js intro ziada-nidal of class4
mohamadziada Apr 21, 2021
37bfd55
sperating the activites of class 4 into branches
mohamadziada Apr 21, 2021
70d867b
ziada & ali riza solution class 5
mohamadziada Apr 21, 2021
136953a
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 23, 2021
c0adeef
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 23, 2021
33affff
ziada and mustafa js-dom-and-array
mohamadziada Apr 23, 2021
98dcc28
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 25, 2021
791ef77
ziada and isa claculator and madlibs
mohamadziada Apr 25, 2021
f51eb27
update folder name to ziada-isa
mohamadziada Apr 26, 2021
841e9ad
Merge branch 'class-6'
mohamadziada Apr 30, 2021
71aeb3b
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Apr 30, 2021
933066d
ziada and deniz scope activity
mohamadziada Apr 30, 2021
5465f16
remove scope activity from main due to previous opened PR
mohamadziada Apr 30, 2021
404bf9c
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada May 2, 2021
aa25c67
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada May 11, 2021
efdf362
pull upstream
mohamadziada May 19, 2021
e4b8b4f
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada May 19, 2021
93f7533
update
mohamadziada May 19, 2021
2dae3cb
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada May 22, 2021
004c092
Merge branch 'main' of https://github.com/ReCoded-Org/bootcamp-turkey…
mohamadziada Jun 9, 2021
7e3b26c
commit oop movie project files
mohamadziada Jun 9, 2021
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
Binary file removed .DS_Store
Binary file not shown.
Binary file removed class-3/.DS_Store
Binary file not shown.
102 changes: 102 additions & 0 deletions movie-project/ziada/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Movie Project
This is a movie database project, where it shows movies, their casts, ratings, trailers, related movies, genres, and so on.

This project uses The Movie DB API: `https://api.themoviedb.org/3`. It is up to
you to use your Google and Postman skills to explore the API and understand the
data.

# Already built for you
- A home page that shows popular movies
- When you click one of the movies, you'll see the Single Movie page, which includes:
- Movie poster
- Movie title
- Movie release date
- Movie runtime
- Movie description
- An empty cast section

# What you and your partner will build

## Homepage

### Navbar
<!-- Add a universal navbar (it appears on every page) to the home page that includes
buttons that go to the following pages: -->

<!-- - Home button, takes you to the home page -->
<!-- - Movies button that has a dropdown list to show different movie genres. For
example: Action, Sci-Fi, Comedy ...etc, When you click one of them it should
load the movies for that genre. -->
<!-- - Actor list page -->
<!-- - About page that has a description of the website -->
<!-- - Search box where you can type the movie or actor name and display the -->
<!-- related results. -->
- A filter dropdown to filter the displayed movies in the home page, based
on (popular, relase date, top rated, now playing and up coming)

### Footer
Add a universal footer that includes:

- Credit to you and your partner for building the website,
- You and your partner's github link inside an icon and optionally, your social
media links

### Styling

<!-- - Make it so that hovering over the movie makes the mouse pointer icon seem
clickable. Right now, if you are about to click a movie, it's not obvious that
it's clickable. -->

## Movies List Page

### Styling

- Using CSS and Bootstrap, display the page as a grid with 3 columns (3 movies
in the same row)
- Make it responsive where it displays 2 columns for tablets and 1 column for
phones
- Style the rest of the page however you like.
- Add the rating and genres to the movies in the home page and a description when you hover over one of them

## Single Movie Page
We build part of the single movie page for you, but the information isn't
totally complete, a few more features are needed:

<!-- - The main 5 actors of the movies in the credit section (need a new fetch) -->
<!-- - The movie language -->
<!-- - A related movies section which includes at least five related movies (need a new fetch) -->
<!-- - A trailer section that has the movie trailer from youtube (need a new fetch) -->
<!-- - The movie production company name and logo -->
<!-- - The director name (new fetch) -->
<!-- - The movie rating and how many votes has it received -->

### Functionality
<!-- - Clicking an actor in the main actors should go to the single actor page. -->

### Other requirements
- There's an issue with duplication in the movie page that has to be fixed (and
you need to open the site and read the code to fix it)
- Style the page however you like

## Actor List Page
Displays a list of actors styles in the same way as the movies list page, but
<!-- with the actor photo and the actor name. Clicking any actor should go to the -->
Single Actor Page. CSS should most certainly be reused here!

## Single Actor Page
<!-- This page can be reached by clicking on an actor in the actors list page or the -->
<!-- credits in the single movie page. -->

### Data Display
<!-- - The actor name
- The actor gender
- A picture of the actor
- The actor popularity
- The birthday of the actor and (if available) death day
- A biography about the actor
- A list of movies the actor participated in -->

## Bonus
If you finish early you can work on the same functionalities, but for TV shows.
Your code should be completely reusable (e.g., don't just copy paste a second
copy of the files).
75 changes: 75 additions & 0 deletions movie-project/ziada/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Movie</title>
</head>

<body>
<nav id="menu" class="navbar navbar-expand-lg navbar-dark bg-dark">
<!-- <img class="logo" src="./src/video.png" alt="website logo"> -->
<h1 class="logoTitle"><a href="https://oop-movie-reserve-1.mohamadziada.repl.co/">Movies Treasure</a></h1>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul id="navigation" class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item active">
<button id="homePage">Home</button>
</li>
<li>
<div class="dropdown">
<button class="dropbtn">Genres</button>
<div class="dropdownList">
</div>
</div>
</li>
<li class="nav-item active">
<button id="actorPage">Actors</button>
</li>
<li class="nav-item active">
<button id="aboutPage">About</button>
</li>
<li class="nav-item active">
<button id="contactPage">Contact</button>
</li>
<li class="nav-item active">
<form id="searchForm">
<input id="searchInput" type="text" placeholder="Search.." name="search">
<button class="submitButton" type="submit" name='submit'>Go!</button>
</form>
</ul>
</div>
</nav>

<div id="container" class="container">
</div>
<script src="./oop-script.js"></script>
<!-- <script type="text/javascript" src="script.js"></script> -->
<footer>
<h5>Produdly Developed Using <a class="APIWebsite" href="https://www.themoviedb.org/" target="_blank">The Movie Database API</a></h5>
<p>Created By</p>
<div class="footerContent">
<div>
<h6>MOHAMAD ZIADA</h6>
<a id="img-link" href="https://github.com/mohamadziada" target="_blank">
<i class="fa fa-github fa-2x" style="font-size:50px" alt="Mohamad Ziada"></i></a>
</div>
<div>
<h6>MULHAM HALLAK</h6>
<a id="img-link" href="https://github.com/MoulhamHallak" target="_blank">
<i class="fa fa-github fa-2x" style="font-size:50px" alt="Moulham"></i></a>
</div>
</div>
</footer>

</body>
</html>
Loading