How to Practice Writing Code/Your Homework

During this course, I'll be asking you to complete super quick, easy homework assignments.

To do these assignments, I want you to have a place on your blog that you can play with the code you've learned. In the web design world, we call these sandboxes—a place where you can be curious and try new things before your code goes live on the web.

Set Up Your Sandbox

To create your sandbox:

  1. Create a private post or page within your blog. By setting the privacy to private, you can see how the code works within your blog's theme or template and you can perfect an amazing post or page without worrying about everyone seeing it.
  2. Now copy over some content from another page or post so you have something to work with. Your code needs something to affect!

And that's it! Your sandbox is ready to go.

Note: Nothing you create in your sandbox can break your site! When you're using HTML inside a page or post, it only makes changes to that area. I won't interfere with your theme.

However, later on we will be adding CSS to your stylesheet. If done incorrectly, it could interfere with your site's theme settings. However, it's a simple case of deleting the CSS code and voila! Your site is back to normal.

Here's how to do this in WordPress

And here are instructions on how to do this in Squarespace.

Complete and Continue