| | #1 |
| Senior Member Join Date: Jan 2010 Location: Missoura
Posts: 322
| So I have been doing a week long Comp Sci study at KU and I will be looking to hone my skills on something. We have covered HTML --most of the basic attributes --bringing in CSS and JScript --most of the basic tags needed CSS --inline, area wide, and document wide styling --background imaging --the three forms of writing in color (RGB, Color name, ID number) JScript --basic loops (for, while) --basic properties for user input (document.getElementById/textarea stuffs) --basic structure and order of code We also learned Binary and the basics of all the above languages. 4 weeks of college courses condensed into one, which will end in us designing a group webpage. If you want to track my progress or comment on my code use the following link: http://people.eecs.ku.edu/~wdula/ Thanks Guys ![]() ![]() ![]() ![]() EDIT: Fixed We are starting the final project for tonight. I'm in charge of topic overview, here goes nothing.
__________________ ![]() MY LOCKS BEAT YOUR LOCKS Last edited by supamario00; 06-17-2011 at 09:04 AM. |
| | |
| | #2 |
| Super Moderator | link is broked ![]() also, web programming can be frustrating at times. You'll find that Internet Explorer sucks big time when it comes to JS programming because it is nitpicky on how you program something. Firefox, Chrome, Safari will have no issues with it. If you're planning on going into the comp sci world, you should really get to know a good multi-use text editor. I've started using one called emacs and I like it quite a bit. If you have any programming questions, this would be a good forum to ask them in. I'm entering my final year of college with quite a bit of real-world job and Agile development experience, Tim created Pwnboxer so he knows quite a bit himself, along with other peoples on the forum.
__________________ Last edited by Nghtmr9999; 06-16-2011 at 06:38 PM. |
| | |
| | #3 |
| Moderator Join Date: Jul 2009
Posts: 1,213
| When I do html I use notepad++ |
| | |
| | #4 |
| Senior Member Join Date: Jul 2009 Location: Manitoba, Canada
Posts: 409
| I took a java programming class in college a few years back and we heavily relied on a programming centric editor called textpad primarily because it has the ability to integrate with various language interpreters and compilers or in our case the java jdk. definitely worth checking out. Last edited by xartin; 06-17-2011 at 02:16 AM. |
| | |
| | #5 |
| Administrator Join Date: Jun 2009 Location: USA
Posts: 6,768
| Will you be learning php and mysql at some point? |
| | |
| | #6 |
| Senior Member Join Date: Jan 2010 Location: Missoura
Posts: 322
| We used notepad++ for everything. PHP and MySQL are next on the list. or at least MySQL is I don't know anything about PHP other than the fact that it is used alot.
__________________ ![]() MY LOCKS BEAT YOUR LOCKS |
| | |
| | #7 |
| Super Moderator | so far so good! two quick things though for future reference. ![]() 1) you didn't account for what I call "stupid input". What happens if you input a number over 100? It's still an A, but that's only if there is extra credit. (Something very hard to come by in college, heh) 2) Your if statement is fine, but for more cases, you might want to use a switch. This is what one would look like in your case, it does use more lines, but it's more "correct". Note the switch(true), though, it should be switch(score), but Javascript didn't like that. Code: <script type="text/javascript">
score = someScore;
switch(true) {
case(score >= 90 && score <= 100):
alert("Your grade is: A");
break;
case(score >= 80 && score <= 89):
alert("Your grade is: B");
break;
case(score >= 70 && score <= 79):
alert("Your grade is: C");
break;
case(score >= 60 && score <= 69):
alert("Your grade is: D");
break;
case(score >= 0):
alert("Your grade is: F");
break;
default: //something above 100 or below 0
alert("Invalid grade entry");
break;
}
</script>
If you have any programming questions, feel free to ask here or Skype me, I believe you have me on there. Cheers! EDIT: Made a minor change to my code. Thats what happens when you work 7-8 hours staring at a computer screen and programming XD EDIT 2: PHP can be tricky at times. Feel free to ask if you have any questions about that as well
__________________ Last edited by Nghtmr9999; 06-18-2011 at 10:42 AM. |
| | |
| | #8 |
| Senior Member Join Date: Aug 2009 Location: Vancouver BC
Posts: 503
| Thats awsome. Didn't check them all out yet, but day 1 i did. Neat stuff! |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| update? | adz4u28 | Multiboxing Software | 7 | 06-30-2011 03:10 AM |
| Programming help | supamario00 | Off Topic | 5 | 02-22-2011 08:55 PM |
| 5 x DK update | Crispin | General Discussions | 5 | 08-01-2010 09:20 AM |
| Quick programming question | Nghtmr9999 | Off Topic | 3 | 06-04-2010 06:05 AM |
| a little background and update | Aveor | General Discussions | 3 | 10-16-2009 11:23 PM |