As we go through the book, we’re going to build a website for the Nanonauts. Below are examples of the code from the book for you to copy and paste -- or change! Looking for code from a certain page in the book? Look for the page number in the green circle below.
When you’re working with your HTML and CSS files, double-clicking them to open them may not work. For example, clicking the HTML file might just open up the web page in your browser, instead of letting you into the code. You might have to tell the computer which program to use. Try right-clicking the file instead and choosing “Open with…”, then picking your text or code editor.