Skip to content

Commit 337ad8f

Browse files
committed
Splits out different exercises into folders
Level 1: root folder. Make desktop homepage with flexbox Level 2: level-2 folder. Add the 'order' page with a form Level 3: level-3 folder. Make both pages responsive
1 parent 82cf6af commit 337ad8f

11 files changed

+56
-20
lines changed

HOW_TO_MARK.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ https://github.com/CodeYourFuture/JavaScript-Core-1-Coursework-Week1-Solution
2424

2525
### 1.2) Using the Solutions Repo
2626

27-
In these repositories you will find solutions to each weeks coursework. These solutions are example answers and will not be the exact solution that students give. You should use it to inform your feedback of the coursework.
27+
In these repositories you will find solutions to each week's coursework. These solutions are example answers and will not be the exact solution that students give. You should use it to inform your feedback of the coursework.
2828

2929
Additionally, you will find marking guides in these places
3030

@@ -48,7 +48,7 @@ https://syllabus.codeyourfuture.io/guides/marking-guide
4848

4949
This guide should be used when you see a student making a common mistake so instead of writing out a reply you can send them to the a good resource.
5050

51-
For example, if the student is leaving in lots of comments out code you could write
51+
For example, if the student is leaving in lots of commented out code you could write
5252

5353
```txt
5454
Great work so far!

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
The aim of this exercise is to create a page that looks just like this one:
44

5-
6-
![alt text](./Karma%20-%20desktop%20design.png "Karma desktop design")
7-
5+
![alt text](./homepage-desktop.png "Karma desktop design")
86

97
### Set up
108

@@ -15,26 +13,12 @@ The aim of this exercise is to create a page that looks just like this one:
1513
Now the code is on your own machine (this happened when you cloned), AND it's linked to your own Karma repository on Github (which was created when you forked).
1614

1715
# Instructions
18-
## Level 1
16+
1917
- **Edit `index.html` and `style.css`** to re-create the design above.
2018
- Remember, use semantic HTML to re-create the structure, and style each element using CSS to make a perfect copy of the above image.
2119
- All the images and icons you need can be found in the `img` folder, and the font 'Roboto' is already loaded into the project.
2220
- **Only create the Desktop design** for now.
2321

24-
## Level 2
25-
- Go to the folder named 'level 2' and find the updated designs there.
26-
- Add the new design block in your `index.html`
27-
- Create a new page called `order.html` and re-create the design for the Order form page (find this in the Level 2 folder as well)
28-
- For the Order page styles, you can keep using the same `style.css` file and add your Order page styles in there. Make sure the stylesheet is imported in the `<head>` of `order.html`.
29-
- Connect the 2 pages by making the homepage's "Get Karma today" button navigate to the Order page.
30-
31-
## Level 3
32-
Now let's make this website responsive!
33-
- Use the techniques you've learned in class to make both the homepage and the Order page look good on mobile.
34-
- You'll find the mobile designs inside the Level 3 folder.
35-
- Use 1 or 2 breakpoints:
36-
- 768px
37-
3822
### Submitting your work
3923
- **Commit and push your code often** so you get into the habit and you avoid losing any code that you write if your machine crashes for example.
4024
- Once you're ready to submit your homework for review, do a final push and **create a Pull Request**. If you're unsure how to do this, [have a look here](https://syllabus.codeyourfuture.io/git/cheatsheet/#i-want-to-send-my-code-to-volunteers-pushing).

level 2/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# karma-clone
2+
## Level 2
3+
The aim of this exercise is to add a new section to the homepage, and create a new page with an Order form.
4+
5+
### Set up
6+
7+
You can choose to add your code for Level 2 to the same branch you were using for Level 1, or to create a new 'level-2' branch.
8+
9+
# Instructions
10+
11+
- You'll find the designs inside the 'level 2' folder.
12+
- Add the new design block in your `index.html`
13+
- Create a new page called `order.html` and re-create the design for the Order form page (find this in the Level 2 folder as well)
14+
- For the Order page styles, you can keep using the same `style.css` file and add your Order page styles in there. Make sure the stylesheet is imported in the `<head>` of `order.html`.
15+
You could also create a specific `order.css` file - just make sure you're not duplicating the CSS already defined in `style.css`!
16+
- Connect the 2 pages by making the homepage's "Get Karma today" button navigate to the Order page.
17+
18+
### Submitting your work
19+
- Remember to **commit and push your code often**
20+
- Once you're ready to submit your homework for review, do a final push and **create a Pull Request**. If you're unsure how to do this, [have a look here](https://syllabus.codeyourfuture.io/git/cheatsheet/#i-want-to-send-my-code-to-volunteers-pushing).
21+
**Note:** If you've added your level 2 code to the same branch as level 1, then it will just update your level 1 Pull Request and you won't need a new PR.
22+
23+
## Designs
24+
25+
![alt text](./homepage-desktop-extended.png "Homepage extended design")
26+
27+
![alt text](./store-desktop.png "Store design")
1.35 KB
Loading

level 2/store-desktop.png

779 KB
Loading
2.01 MB
Loading

level 3/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# karma-clone
2+
## Level 3
3+
4+
Now let's make this website responsive!
5+
6+
### Set up
7+
8+
You can choose to add your code for Level 3 to the same branch you were using for the previous levels, or to create a new 'level-3' branch.
9+
10+
# Instructions
11+
12+
- Use the techniques you've learned in class to make both the homepage and the Order page look good on mobile.
13+
- You'll find the mobile designs inside the 'Level 3' folder.
14+
- You can use 1 or 2 breakpoints, it's up to you (if you're not sure, start with 768px - it's a classic one as it's the width of an iPad and a good point to switch from a mobile layout to a desktop layout).
15+
16+
### Submitting your work
17+
- Remember to **commit and push your code often**
18+
- Once you're ready to submit your homework for review, do a final push and **create a Pull Request**. If you're unsure how to do this, [have a look here](https://syllabus.codeyourfuture.io/git/cheatsheet/#i-want-to-send-my-code-to-volunteers-pushing).
19+
**Note:** If you've added your level 3 code to the same branch you used for the previous levels, then it will just update your existing Pull Request and you won't need a new PR.
20+
21+
## Designs
22+
23+
![alt text](./homepage-mobile.png "Homepage mobile design")
24+
25+
![alt text](./store-mobile.png "Store mobile design")

level 3/homepage-mobile.png

189 KB
Loading

0 commit comments

Comments
 (0)