Update README.md
This commit is contained in:
parent
2ffb0662dc
commit
402f6df28d
1 changed files with 5 additions and 4 deletions
|
@ -15,14 +15,15 @@ If you have a suggestion to improve an exercise, an idea for a new exercise, or
|
||||||
2. Go to an exercise directory and open the HTML file in your browser. You can either open the file directly, or use something like VSCode's Live Server extension.
|
2. Go to an exercise directory and open the HTML file in your browser. You can either open the file directly, or use something like VSCode's Live Server extension.
|
||||||
3. For each exercise, read the README thoroughly before starting any work.
|
3. For each exercise, read the README thoroughly before starting any work.
|
||||||
* Each README has a "Self Check" list. Use this to make sure you haven't missed any important details in your implementation.
|
* Each README has a "Self Check" list. Use this to make sure you haven't missed any important details in your implementation.
|
||||||
5. Make your edits in the `index.html` and/or the `style.css` files in order to make the output in your browser look like the Desired Outcome image(s).
|
4. Make your edits in the `index.html` and/or the `style.css` files in order to make the output in your browser look like the Desired Outcome image(s).
|
||||||
* Depending on the instructions of the exercise, you may only need to make edits in one of these files.
|
* Depending on the instructions of the exercise, you may only need to make edits in one of these files.
|
||||||
6. Don't check the solutions until you're done!
|
5. Once you successfully finish an exercise, check TOP's solution to compare it with yours.
|
||||||
7. Do not submit your solutions to this repo, as any PRs that do so will be closed without merging.
|
* You should not be checking the solution for an exercise until you finish it!
|
||||||
|
* Keep in mind that TOP's solution is not the only solution. If your solution differs wildly from TOP's solution (and still passes the self-check criteria), feel free to ask about it in the chatroom.
|
||||||
|
6. Do not submit your solutions to this repo, as any PRs that do so will be closed without merging.
|
||||||
|
|
||||||
## Some Hints
|
## Some Hints
|
||||||
- The official solutions put all changes at the _end_ of the CSS file, which may duplicate some selectors (e.g. there might be a `body {}` in the given CSS, and another `body {}` in the solution). When you are working on an exercise, it is best practice to add your CSS to existing selectors instead of duplicating them at the end of the file. We're sacrificing this best practice in our official solutions to make it extra clear to you what things we changed to solve the exercise.
|
- The official solutions put all changes at the _end_ of the CSS file, which may duplicate some selectors (e.g. there might be a `body {}` in the given CSS, and another `body {}` in the solution). When you are working on an exercise, it is best practice to add your CSS to existing selectors instead of duplicating them at the end of the file. We're sacrificing this best practice in our official solutions to make it extra clear to you what things we changed to solve the exercise.
|
||||||
- Unless listed in the self-check section, do not worry about getting the exact pixel value for things like margin, padding and font-size. These exercises are intended to test your knowledge of CSS, not your ability to guess that a screenshot is using `font: sans-serif bold 16px`, or that the margin is _exactly_ `42px`.
|
- Unless listed in the self-check section, do not worry about getting the exact pixel value for things like margin, padding and font-size. These exercises are intended to test your knowledge of CSS, not your ability to guess that a screenshot is using `font: sans-serif bold 16px`, or that the margin is _exactly_ `42px`.
|
||||||
- You may need to add some elements to your HTML to get things into the right spot. (For the first few exercises we make it explicit when this needs to happen.)
|
- You may need to add some elements to your HTML to get things into the right spot. (For the first few exercises we make it explicit when this needs to happen.)
|
||||||
- You may need to add more selectors to your CSS file. The first few exercises have almost everything already done for you, but as you progress you'll find that you need to add more and more to get the correct result.
|
- You may need to add more selectors to your CSS file. The first few exercises have almost everything already done for you, but as you progress you'll find that you need to add more and more to get the correct result.
|
||||||
- In many cases, there will be multiple correct ways to solve these problems. The official solution isn't necessarily the _only right way_, but it is possible to do things in ways that are overall unhelpful. If your solution differs wildly from the official solution (and still passes the self-check criteria), feel free to ask about it in the chatroom.
|
|
||||||
|
|
Loading…
Reference in a new issue