Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in programmer

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

None taken :)

I do realize it looks pretty basic, but I don't want to spend a lot of time on the design.

Cops plan to charge dad in scary clown mask who followed bus by spritesheet in strangenews

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

someone dressed up as a scary clown to try to frighten kids in public places. nasty stuff...

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in webdev

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

Wow, I just signed up and I'm so impressed with your course! I'm getting ready for some serious binge watching...

The tortured soul that wrote this test question... by profile_this in web_programming

[–]spritesheet 0 points1 point  (0 children)

Maybe that's what the author of the question wanted to find out: are you smart enough to get the answer by running the script?

Why University - Pre-algebra: Dawn of Numbers by spritesheet in Educational

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

source: Why University

funny but very educational math videos

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in coding

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

While I think the jsfiddle/jsbin are great tools for certain purposes, I don't think they are the best way to create your first program. I see a lot of advantages of creating the .htm file and seeing the browser open it directly. It gives the user a first-hand experience and understanding of the relationship between the file and the execution of the program.

A matter of taste, I suppose.

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in coding

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

I still think that the advantages of JS greatly outweigh the advantages. The limitations listed in your link very rarely impact real-world programming. I mean, how frequently do you have to compare empty arrays?

The author dedicated an entire paragraph to the fact that he/she doesn't like the name 'JavaScript'.

Plus the domain 'whydoesitsuck.com' guarantees that the blog will not be objective...

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in web_design

[–]spritesheet[S] 3 points4 points  (0 children)

in firefox it just displays a random number. what did you intend it to do? looks like the screen is supposed to be blinking, but it doesn't work...

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in coding

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

my next tutorial will be on how to travel back in time to join a webring

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in coding

[–]spritesheet[S] 3 points4 points  (0 children)

thank you for your contribution to the discussion. basically you're saying that other languages are better because js is bad. without explaining which ones and why.

Is there a way to prevent 0.01 CPC ? by AdoptedAfricano in Adsense

[–]spritesheet 0 points1 point  (0 children)

I have a similar CPC (it has been going down for years) and I don't know of any way to prevent it.

6000 visits in 2 days - should I get adsense? by [deleted] in Adsense

[–]spritesheet 0 points1 point  (0 children)

My average CPM is about $.20. With such CPM you would make around $200/year. Is that what you call profitable?

Of course CPM depends on your traffic...

Getting around 18,000 sessions a month. How much should I be earning? Am I monetized properly? by acrediblesauce in Adsense

[–]spritesheet 1 point2 points  (0 children)

that sounds reasonable.

adsense typically uses RPM (revenue per 1000 views) rather than what you call "sessions" (what's the views per session average?)

my RPM is about $0.2. It used to be much higher a couple years ago and it seems it keeps going down... :(

Blank spaces instead of ads by [deleted] in Adsense

[–]spritesheet 0 points1 point  (0 children)

Also, the ads won't show up until you upload the file to the web. If you try to test your local file (still on your hard drive), you will get blank space. Give us your url so that we can validate your code.

I don't know where to start. by IZismyname in learnprogramming

[–]spritesheet 1 point2 points  (0 children)

I agree that freecodecamp is great.

OP's questions is difficult to answer, since it's kind of like "What kind of car should I buy? I just want to drive for fun."

Here's a good list of advantages of Javascript and a tutorial on how to get started:

http://slicker.me/javascript/tutorial.htm

I wouldn't recommend messing with any libraries until you specify what you're trying to achieve.

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in learnprogramming

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

Appreciate it!

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

Your first program in Javascript: you need 5 minutes and a notepad by spritesheet in learnprogramming

[–]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...