Today’s goals:
- Get hidden ghost answer code and review general code trouble-shooting steps
- Complete a survey about the 3rd quarter
- Follow a fun tutorial to make a game with JavaScript
Today’s featured site:
- http://alternativeto.net/– A great way to find new apps and software.
From Wednesday- Hidden Ghost Answer Code
- If you couldn’t get yours to work, download this code, copy and paste it into a new Notepad++ file, and save it under a different name than your other ghost page.
General Code Trouble-Shooting Steps
- Re-read (or READ) the instructions in the tutorial or documentation you’re following
- Get another set of eyes– another classmate, mine. Often others will see things we didn’t notice.
- Check your code for common errors:
- Missing things: opening or closing tag, pointy or curly bracket, semi-colon, quotation mark
- Code in the wrong place: CSS should be inside style tags in head section; JavaScript should be inside script tags in body section or head section
- Retrace your steps: comment out code– begin with most recent first- and see at what point things were working and then didn’t. If you don’t remember how to create comments in HTML and CSS, Google is your friend- look it up. In some cases, you might want to simply start over by creating a new page but saving your other one so you don’t lose that work. Sometimes a new file helps.
- Refresh the browser again. Close the browser and relaunch your page again.
3rd Quarter Survey
JavaScript Game Tutorial
- Follow this tutorial to create a game with JavaScript.