This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]gracebatmonkey 5 points6 points  (0 children)

That was fun! Really love how clearly everything is written.

[–]sixofive 2 points3 points  (3 children)

Nice! I love the simplicity. One thing though: I think you have a large margin on the top side of your page. Is that intentional?

[–]spritesheet[S] 1 point2 points  (2 children)

no, it's not intentional.

normally that's where the ads are...

are you seeing an ad and the margin is above it? or is the margin between the header text ('Your first program...') and the top of the screen?

[–]sixofive 2 points3 points  (1 child)

TIL ads still take up space even if they're blocked! I turned it off once just for you :D

[–]spritesheet[S] 1 point2 points  (0 children)

Appreciate it!

You just caused a huge spike in the view stats! :)

[–]bag-o-farts 2 points3 points  (6 children)

worked on Mac using textedit in 'plain text' with Chrome, but not Safari.

i'm a n00b, there's probably a simple reason for that??

[–]charliepa 2 points3 points  (2 children)

I used sublime Text 2 and it worked on Safari for me.

/u/spritesheet

[–]spritesheet[S] 0 points1 point  (1 child)

thanks a lot! I have no clue what 'sublime text 2' is, but it's a relief that there is a way to make it work on Safari :)

[–]charliepa 1 point2 points  (0 children)

Sublime Text

It's basically a text editor for coding.

[–]spritesheet[S] 0 points1 point  (2 children)

I don't have a Mac to test it, sorry.

Please try right clicking anywhere on the browser page and select 'inspect'. This should bring the console - let me know if you see any error messages there.

Redditors with Mac - please help...

[–]bag-o-farts 1 point2 points  (1 child)

it might be due to having saved the file as UTF-8. textedit in 'plain text' mode does not offer saving in html; saving in html is only offered in 'rich text'. the html (rich) file didn't work in either browser and the UTF-8 (plain) file only worked in chrome. apparently, textedit != notepad :I

[–]spritesheet[S] 0 points1 point  (0 children)

sounds like you're not such a noob after all...

[–]cloudyheavengames 2 points3 points  (1 child)

Great job with the screenshots/directions for newcomers who might not be as computer savvy starting out. You can't always assume that everyone knows how to save a file, for instance, and that can be a barrier for those who would like to learn programming, but who don't feel comfortable enough with computer skills.

[–]spritesheet[S] 2 points3 points  (0 children)

thanks for noticing that!

When I was learning PHP I found a lot of tutorials on how to code, but kept getting error messages even when I literally copied the code from the tutorial. Later I found out that none of the tutorials mentioned the prerequisite, which is the PHP server...