I hope I'm not a "that guy" in class. Yeah, I've read a few books. Who cares.
I feel like the next few classes will be good.
I hope I'm not a "that guy" in class. Yeah, I've read a few books. Who cares.
I feel like the next few classes will be good.
Newest project:
Button: add blank text box
Click text line: change to text box
Escape in text box:
- If nothing stored, remove
- If info stored, remove changes, restore info
Enter in text box: change to text line with info
X button by text box/text line: remove
Text format: number of item, item name
+ and - button by text line: increase/decrease #
Hide + button at 4
Hide - button at 1
User will enter a number and a string. The code will separate the number from the string to manipulate it, then add it back to the string when finished. If the user doesn't enter a number, the number will automatically be 1. Any number over four will be reduced to four.
Wouldn't it be great to have a Javascript site that gives examples and explanations for real-world problems? "How do I make a text box that responds this way?" "How do I do such and such?" It would be about simple things that can get a new programmer going.
I've put out my first attempt at a web site. At the moment it's very bare, but it's got three links and it works. The problem is when I looked at it on my mobile phone it was very small and didn't fit well on the screen without zooming. Yes, my friends, I've noticed the harsh difference between mobile and desktop web viewing.
The first thing I did was to Google ways to make simple CSS adjustments that would take into consideration the user's screen size, but I couldn't find a simple answer. I need to scale my divs and text size depending on the screen size of the user.
Where do I go from here? Do I have to turn to Javascript "if" statements for CSS values? Do I need to learn a specialized language for this sort of thing?
I've been putting off learning Jquery and such because I wanted to get the basics down first. I figured that once I knew what I was capable of in basic HTML/CSS/Javascript then I could specialize in one or more of the offshoot languages. But maybe that isn't the way I should be going after all.
I've never seriously thought about browser gaming. Since it is something that can't currently be done well in the same way as console gaming and yet it seems like an inevitability, shouldn't I consider getting involved as a possible future career?