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

London10-Afsha_Hossain_TV_dom_project #1

Open
wants to merge 80 commits into
base: for-review
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 77 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
6ab880a
Added full name and user name to the index.html file
Afsha10 Apr 22, 2023
f682bb4
Personalised index.html title
Afsha10 Apr 27, 2023
715dd15
Personalised index.html title
Afsha10 Apr 27, 2023
ed2c0b7
Updated index.html and style.css and wrote pseudocode in script.js
Afsha10 Apr 28, 2023
8c102f9
Updated index.html, script.js and style.css by moving away from html …
Afsha10 May 1, 2023
51cee25
Removed the <p> from the beginning and </p> from the end of the episo…
Afsha10 May 1, 2023
e9b15ef
Changed the body and cardsContainer background colour and added borde…
Afsha10 May 1, 2023
2d1f09d
Trying to solve level 100 with only display flex
Afsha10 May 2, 2023
9610ce3
Completed level 100 using flex box
Afsha10 May 3, 2023
49f2bdb
Update style.css
Afsha10 May 3, 2023
0e10058
Update style.css
Afsha10 May 3, 2023
b265ca4
Update script.js
Afsha10 May 3, 2023
9a774e2
Almost completed level 100 using the grid method.
Afsha10 May 3, 2023
9cf11b5
Updated index.html, style.css pseudocode script.js
Afsha10 May 3, 2023
74edfaa
Clearing unnecessary code
Afsha10 May 3, 2023
1235ffa
Almost done with level 100
Afsha10 May 3, 2023
b5852b8
Completed Level 100
Afsha10 May 3, 2023
b285f42
Completed level 100
Afsha10 May 3, 2023
7e9c109
Deleted unnecessary files
Afsha10 May 3, 2023
12852aa
Started working on level 200
Afsha10 May 4, 2023
e5ce719
made some minor changes like changing div to span in JS and changes i…
Afsha10 May 4, 2023
f8a42f1
Tried to make the search bar using scritp.js but failed
Afsha10 May 5, 2023
11d4ff2
Cleared a few things
Afsha10 May 5, 2023
e9cefc3
Tried to refactor to complete level 200
Afsha10 May 5, 2023
7683176
Corrected my HTML pseudocode
Afsha10 May 5, 2023
a059f93
Completed level 200
Afsha10 May 6, 2023
3fb47f1
Tried to do level 300. Updated index.html, script.js, style.css and p…
Afsha10 May 7, 2023
9fc3a34
Refactored script.js by creating a separate function for level 300 in…
Afsha10 May 10, 2023
4e652b2
Created Id for each episode in the drop down menu and tried to create…
Afsha10 May 10, 2023
0023d69
Almost completed level 300. Need to fix the overlapping top search ba…
Afsha10 May 11, 2023
fb4b376
Update script.js
Afsha10 May 11, 2023
423aa60
Afsha10 May 11, 2023
5cf5175
Made some minor changes in html and css to make it a bit user friendly
Afsha10 May 12, 2023
87edfa3
Updated script.js and used fetch method to get the API data
Afsha10 May 14, 2023
8b0f9b9
Renamed my variables for better understanding
Afsha10 May 15, 2023
6fa2e27
Create layout-with-var-names-id-class.jpg
Afsha10 May 15, 2023
dc7b78e
Update script.js
Afsha10 May 15, 2023
683fe57
Made the search bar work
Afsha10 May 15, 2023
bb5fe42
Completed level 350 and correcting the "undefined" part in the searc…
Afsha10 May 15, 2023
a342987
Corrected some bugs from 300
Afsha10 May 15, 2023
4a92a30
Update index.html
Afsha10 May 16, 2023
1c29324
Completed Level 350
Afsha10 May 16, 2023
0afa5ac
Level 400 almost done with some bugs
Afsha10 May 18, 2023
95581aa
Completed 400
Afsha10 May 18, 2023
ec84ce2
added demo.html and demo.css
Afsha10 May 18, 2023
908bb50
Update script.js
Afsha10 May 19, 2023
3733581
Testing CSS Grid to get the new template
Afsha10 May 20, 2023
252756f
minor changes to demo files
Afsha10 May 20, 2023
f08714a
Level 500 WIP
Afsha10 May 20, 2023
b86a451
Creating a demo- WIP
Afsha10 May 20, 2023
448cb2d
Added very basic info
Afsha10 May 21, 2023
ae2d79d
Renamed an element
Afsha10 May 21, 2023
d71fe99
Update script.js
Afsha10 May 21, 2023
573125f
Update script.js
Afsha10 May 21, 2023
60491ec
Worked on the elements inside showBasicInfoContainerHtml
Afsha10 May 21, 2023
9578d24
Made some styling changes
Afsha10 May 21, 2023
5731e55
Changed element names and html layout and css styling according to mo…
Afsha10 May 22, 2023
ae52c95
Made show displayed in the mobile version look better and cleaned up …
Afsha10 May 22, 2023
95186b0
Fixed the mobile version for displaying shows using css grid and flexbox
Afsha10 May 22, 2023
ac8335a
Made the pages with for show and episodes responsive
Afsha10 May 23, 2023
fc81b83
Fixed the displaySearchEpisode function
Afsha10 May 24, 2023
321e8d0
Fixed the jumpToEpisode function
Afsha10 May 25, 2023
8e61792
Minor updates to script.js and style.css
Afsha10 May 26, 2023
d629776
Made the button "View show listing" work
Afsha10 May 26, 2023
725fd93
Made the episodes page responsive
Afsha10 May 27, 2023
eb31830
Made the show page responsive
Afsha10 May 28, 2023
989bc32
Changed how showGenre innerHtml is written, bolded infoDescriptions i…
Afsha10 May 28, 2023
96d512d
Created the function displaySearchedShows and connected with the sear…
Afsha10 May 28, 2023
c9fbf7b
Fixed switching appearing of unnecessary dropdown menus while switchi…
Afsha10 May 28, 2023
535cb69
Changed variable name created two event listeners and created an infi…
Afsha10 May 28, 2023
878af31
Corrected the infinite loop
Afsha10 May 28, 2023
d037ad8
Created 2 separate search bars for episode and shows
Afsha10 May 29, 2023
b9d3cec
Corrected some styling in style.css
Afsha10 May 29, 2023
65f0548
Update style.css
Afsha10 May 29, 2023
ca36470
Fixed a bug and think I completed level 500
Afsha10 May 29, 2023
1e3da01
Minor styling changes
Afsha10 May 29, 2023
2bbd0d3
Removed unnecessary text in Html for displaying search results as I h…
Afsha10 May 30, 2023
c39fca6
Created a function called toggleVisibility to change visibility of sh…
Afsha10 Jun 7, 2023
71714a2
Refactored by creating 2 different functions to format the episodeTit…
Afsha10 Jun 9, 2023
a6b92fb
Fixed the episode and show pages to appear at the top the of page
Afsha10 Jun 9, 2023
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
160 changes: 160 additions & 0 deletions demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
.header, .footer {
width: auto;
height: 4rem;
background-color: #8FE4DF;
}

.header {
display: flex;
justify-content: center;
align-items: center;
background-color: #8FE4DF;
}

.big-button-holder {
height: 3rem;
display: flex;
justify-content: center;
align-items: center;
}


#show-listing-button {
background-color: #8FE4DF;
border-radius: 1rem;
margin: 0.5rem auto;
padding: 0.2rem 8rem;
font-weight:500;
}

.footer {
display: flex;
justify-content: center;
align-items: end;
}

.nav-bar-holder {
border: #190f0f;
background-color: #D9D9D9;
display: flex;
flex-direction: column;
padding: 1rem;
}

.nav-bar {
display: flex;
flex-direction: column;
gap: 1rem;
}

/* #show-select-html, #season-select-html, #episode-select-html {
width: 100%;
} */

.card {
background-color: #D1EBF1;
margin: 0.5rem;
padding: 2rem;
border: 0.25rem solid #00ffd5;
border-radius: 1rem;
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-rows: auto;
grid-gap: 2rem;
grid-template-areas:
"n"
"i"
"s"
"b";
}


.title-holder {
grid-area: n;
}

.image-holder {
height: 14rem;
padding: 1rem;
background-color: #D9D9D9;
width: 10rem;
grid-area: i;
}

.show-image {
width: 100%;
}

.summary-holder {
width: 20rem;
padding: 0.5rem;
grid-area: s;
background-color: #D9D9D9;
display: flex;
padding: 1rem;
}

.info-box {
width: 15rem;
grid-area: b;
border: #190f0f solid 1px;
}

.display-search {
display: block;
}

.show-info-list {
list-style-type: none;
padding: 1rem;
/* background-color: #D1EBF1; */
background-color: #D9D9D9;
}


/* li {
gap: 1rem;
} */

@media screen and (min-width: 450px) {
.card {
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(6, 1fr);
grid-template-areas:
"n n n n n n n n n n n n"
"i i i i b b b b b b b b"
"i i i i b b b b b b b b"
"i i i i b b b b b b b b"
"s s s s s s s s s s s s"
"s s s s s s s s s s s s";
}
}

.nav-bar-holder {
padding: 1rem;
background-color: #D9D9D9;

}

.nav-bar {
display: flex;
flex-direction: row;
height: 2rem;

}

@media screen and (min-width: 620px) {
.card {
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(4, 1fr);
grid-template-areas:
". . . n n n n n n . . ."
"i i i s s s s s s b b b"
"i i i s s s s s s b b b"
"i i i s s s s s s b b b";
}
.nav-bar-holder {
padding: 1rem;
background-color: #D9D9D9;
}
}
Loading