You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,51 @@ Please follow the following best practices when using Git and GitHub to strive t
38
38
- Make small and incremental commits.
39
39
- Make sure your code works before committing it.
40
40
- Write brief and relevant commit messages.
41
+
42
+
# Part A: Creating the Homepage
43
+
44
+
:::info
45
+
Relevant files to work on: index.html, index.js, header.js, index.css, header.css
46
+
47
+
:::
48
+
49
+
Once you download the zipped folder, you will see a file called "index.html" at the root level of that folder. You must open that file and add your code in that file.
50
+
51
+
This "index.html" file will be the file of your homepage. The final outcome of creating your homepage should look like this:-
52
+
53
+

54
+
55
+
Some very important things to keep in mind:
56
+
57
+
1. You must strictly keep HTML, CSS and Javascript portion of the code separate from each other (in separate files)
58
+
2. You must refer to the "index.css" file inside the "css" folder and define all your css inside that file (for the "index.html" file)
59
+
3. You must refer to the "index.js" file inside the "js" folder and define all your Javascript inside that file (for the "index.html" file)
60
+
4. Unless explicitly mentioned otherwise (for example, at some places, it might be mentioned that a certain button MUST be red in colour), you can customize your own CSS for any HTML element you want. However, please keep in mind that the overall appearance of any HTML page must be very similar (if not identical) to the outcome of the screen mentioned prior of each part of the assignment. This means that if certain elements are placed towards the top-right of the screen in the final outcome figure, they MUST be placed at the top-right corner ONLY, failing to do so will lead to deduction of marks. Note that there might be multiple ways in which a certain CSS effect can be achieved. So the exact syntax of the CSS code does not matter, but the overall appearance of any given page must be very similar to the expected outcome.
61
+
62
+
Let us now begin our step by step process of creating our homepage.
63
+
64
+
Our homepage will consist of 2 main segments:-
65
+
66
+
a) **Header** = You will be re-using it at many other places in the assignment. Hence, we will keep it as a separate class altogether
67
+
68
+
This will be the header portion which should look like this:
69
+
70
+

71
+
72
+
You are already provided with the Scribbler Logo and The tagline. You've also been provided with the buttons. You need to add functionality to them.
73
+
74
+
You will need to create a total of 2 **modals** for the header. You must find on the Internet ways to create a simple basic modal. You can use the below link to find a simple modal code:
75
+
76
+
You have been provided with the Create Post Modal in the Stub provided to you. You can reference that for further information.
0 commit comments