Does anyone enjoy coding?

Form clubs, armies, and have discussions centered around your favorite subjects.

Re: Does anyone enjoy coding?

Postby calliope. » Thu May 08, 2014 3:07 pm

I love coding!! Although.. I do suck a little ;w;
I'm pretty good at HTML but everything else is terrible >w<
Image
i am a boy
hello! it's nice to meet you c:
my name is calliope., but feel free to call me jake ;u;
my CS username is hipster shibe, and my DA is xalexxi! feel free to chat me up on there as well ^u^

Image

to-do list wrote:~ collect all wishlist pets
~ get new computer... :c
~ work on commissions
User avatar
calliope.
 
Posts: 15
Joined: Wed May 07, 2014 12:12 am

Re: Does anyone enjoy coding?

Postby Lailic » Fri May 09, 2014 5:40 pm

cjr09 wrote:
SilverPack wrote:So I started using Coding academy and I'm learning Java script. well I have to make a game for my lesson and while it says I passed I don't like how It shows both answers for the yes response. Can you guys take a look and tell me what im doing wrong its an if/else statement.


confirm("Are you ready to play?");
age = prompt("whats your age?");
if (age < 13)
{
console.log("You are allowed to play but it is discouraged.");
}
else
{
console.log("Get ready to play! You'll do great!");
}
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");

var userAnswer = prompt("Do you want to race Bieber on stage?");
if
(userAnswer === "yes")
{
console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
}
else
(userAnswer === "no");
{
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");
}

var feedback = prompt("How much did you like this game? 1-10");
if
(feedback >= 8)
{
console.log("Thank you! We should race at the next concert!");
}
else
(feedback <=7)
{
console.log("I'll keep practicing coding and racing.");
}

**DISCLAMER I do not like Justin Beiber. I had to use this scenario thing for the game.... When I'm done I'm going to edit the strings so that they say a more likeable celebrity.


I'm going to point out that I know Java, but not Javascript, so this might be a little off.

You don't actually need if/else statements here, and using a bunch of if statements should actually make your program run smoother.

Else statements- at least in Java- don't need things after them. As in-

else
(feedback <=7)
{
console.log("I'll keep practicing coding and racing.");
}

Doesn't need (feedback <= 7) because else covers everything that wasn't in the previous if statement. So you really just need-

else
{
console.log("I'll keep practicing coding and racing.");
}

- But the other way to make an effective statement like this- at least in Java, still don't know Javascript, I'll look that up after school for you and make sure I'm giving you good information- is to just turn them all into if statements- aside from your very first if statement for determining age.

if(feedback <=7)
{
console.log("I'll keep practicing coding and racing.");
}

Hope this helped a bit!


Well for the feedback it prompts the user for an answer 1-10 on how much they like it. and based on their answer it supposed to show only one. either "Thank You! We should race at the next concert!" OR "I'll keep practicing coding and racing." If the person rates it 7 or below it shows the latter and if they rate it 8 or more it shows the former and the latter.

Same with the "Do you want to race beiber" Prompt. If you say no it only shows
"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing."
But if you choose yes it shows both
"You and Bieber start racing. It's neck and neck! You win by a shoelace!"
"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.' "

I'm following how Codeacadamy is teaching it to me with the If/else statements. The purpose of they way its sat up is so the coding it tighter. It's supposed to limit unwanted bugs but some good its doing for me right now. :p
Commissions wrote: Currently closed till farther notice

I love you, Avril L. wrote:I like your smile
I like your vibe
I like your style
But that's not why I love you


Image
Lailic wrote:Pronounced: Lay-Lick
Mood: Happy (:
Preferred Pronoun: She/Her
Status: Inlove with someone just not with them

Image

The Sane One The Interesting one The Secretive one The Sassiest One The Quiet one
...

User avatar
Lailic
 
Posts: 1764
Joined: Thu May 01, 2014 10:14 pm

Re: Does anyone enjoy coding?

Postby FrighteningAsuna » Fri May 23, 2014 12:04 pm

O know basic html but would love help learning, i havent really messed with it in two years since most of the sites i used it on, i got bored of.... but i still love html and all thing computer science!
If a king doesn't move, how can his subordinates be expected to follow.

User avatar
FrighteningAsuna
 
Posts: 2480
Joined: Mon Aug 26, 2013 9:49 am

Re: Does anyone enjoy coding?

Postby Lailic » Fri May 23, 2014 2:59 pm

coding academy ^-^ that's how i'm learning. Its great ^-^

Take Notes girl. take notes!
Commissions wrote: Currently closed till farther notice

I love you, Avril L. wrote:I like your smile
I like your vibe
I like your style
But that's not why I love you


Image
Lailic wrote:Pronounced: Lay-Lick
Mood: Happy (:
Preferred Pronoun: She/Her
Status: Inlove with someone just not with them

Image

The Sane One The Interesting one The Secretive one The Sassiest One The Quiet one
...

User avatar
Lailic
 
Posts: 1764
Joined: Thu May 01, 2014 10:14 pm

Re: Does anyone enjoy coding?

Postby FrighteningAsuna » Tue May 27, 2014 5:04 pm

Hey, does anybody feel like playing around with some coding? I can also offer basic lessons for html and advanced for bbcode if anyones interested
If a king doesn't move, how can his subordinates be expected to follow.

User avatar
FrighteningAsuna
 
Posts: 2480
Joined: Mon Aug 26, 2013 9:49 am

Re: Does anyone enjoy coding?

Postby Halloween3110 » Tue May 27, 2014 8:52 pm

Um sorry to sound stoopid but what is coding? :oops:
Image
Image


IT's ok Candycorn - we all float.....
User avatar
Halloween3110
 
Posts: 129
Joined: Wed May 14, 2014 8:50 pm

Re: Does anyone enjoy coding?

Postby FrighteningAsuna » Tue May 27, 2014 9:55 pm

Halloween3110 wrote:Um sorry to sound stoopid but what is coding? :oops:

Its what you type in to try and get certain reaction (aorry for the bad explanation)
Example
Code: Select all
here arw bbcode examples!
[quote][/quote][u][/u]

me wrote: there a few more well known coding languages like: BBCode, html, python, java, CSS, C++
If a king doesn't move, how can his subordinates be expected to follow.

User avatar
FrighteningAsuna
 
Posts: 2480
Joined: Mon Aug 26, 2013 9:49 am

Re: Does anyone enjoy coding?

Postby FrighteningAsuna » Thu May 29, 2014 12:41 am

Hey html experts, ive snagged a problem and have been trouble shooting, anyone wanna help?
If a king doesn't move, how can his subordinates be expected to follow.

User avatar
FrighteningAsuna
 
Posts: 2480
Joined: Mon Aug 26, 2013 9:49 am

Re: Does anyone enjoy coding?

Postby Cyska » Sun Jun 15, 2014 9:39 pm

I don't mind coding -- when it works for me. I can do HTML, CSS, ActionScript, and I have done a little bit in PHP. I do much better in the art field, but I have to do some coding for my website, so I just roll up my sleeves and do the best I can. It's really rewarding to get things to function properly!
Image

Realistic virtual pets with purr-sonality! | Join for free: www.CyskaSiberians.com
User avatar
Cyska
 
Posts: 27
Joined: Sun Jun 15, 2014 9:05 pm

Re: Does anyone enjoy coding?

Postby Castiel » Sun Jun 15, 2014 11:13 pm

@SilverLaliac, it looks fine to me. ^^ Though if you're looking for filler text, use Hello World or lorem impsum. c:

Anyone around with professional PHP and MySQL skills? WP experts?
User avatar
Castiel
 
Posts: 1445
Joined: Sat Sep 21, 2013 2:13 pm

PreviousNext

Return to Fans, Clubs, and Armies

Who is online

Users browsing this forum: No registered users and 22 guests