Friday, March 15, 2013

This is hard.

So I started looking at JavaScript, thinking it would be fun and be able to do a lot of cool stuff. But I find it out is not so much like HTML or CSS, but more like "real" computer programming languages like C++ or Java, with functions, arrays, switches, and similar things that I learned in C++. So...this might be a bit more complicated than I originally anticipated. No matter.

I'll get through this.

It's easier than C++ at least. XD

It's probably helpful that the tutorials are really good and I actually understand what I'm doing.

I haven't figured out exactly how it interacts with HTML so far. But HTML buttons can control it. Like this.

Click the button to display a confirm box.



See? Anyway, yeah. It's fun. It seems like I'm well on my way to creating a good website. It will be great if I eventually learn PHP and mySQL. Beyond that, those are all the languages I really need to know for a good web page!

Peace out.

Tuesday, March 12, 2013

JavaScript and crud like that...

Okay. So I've finished learning some stuff about CSS, which really is pretty cool and great for stylizing pages. It was pretty easy to learn, except it took me a while to figure out how to center the navigation bar. *Whistles nonchalantly* That was really the thing I had trouble with. This page taught me how to do that. http://csswizardry.com/2011/01/create-a-centred-horizontal-navigation/

My homepage looks like this so far.


I've begun work on the other pages, especially the about page and the story previews page. The reason for the delay on the forum page is explained below.

And that means HTML and CSS are done, which brings me to JavaScript, which can create dynamic elements. CSS and HTML make a nice looking page, but they are static. They don't change. Looking over JavaScript, I've come across elements that can display the date, make pop-up alerts, and some other cool stuff as well.

The language itself seems a bit confusing, but the tutorials I've found simplify it and tell you exactly how everything works and what each statement does.

They taught me all of the HTML tags I know, which allowed me to create all the text and the table and such. I also learned the CSS required to add the background image, color the text easily, and style the navigation bar properly.

I think I will find a book that will give me some more detail on these topics. Having more help can't hurt, right?

I've been wanting to create a forum, because I've had wonderful experiences on the forums of my favorite writing website, Figment, and I thought I wanted to create my own. However, I found out that requires knowledge of PHP and mySQL, which I wasn't planning to learn. That was a disappointment, but there is still much I can do!

I've learned that creating a website is nowhere near as easy as I thought it would be. It requires lots of lines of code and learning different statements and tags and functions and it can get confusing. I've taken a real interest in this and I love working on it! I've gotten a lot accomplished since I started.

Peace out.

Friday, March 1, 2013

So...starting CSS

So, I've learned a bit of HTML, which is cool. It's great for creating the content of all the webpages and doing basic text effects, like headings, or italics. You can also post pictures and links, and make tables. You can also create forms, which could be useful for log ins and surveys. You can also use it to embed music and videos, which is totally awesome. I tried it by embedding a Taylor Swift song on my trial website. One of the things that is giving me a little trouble is remembering all the different tags and what their function is. In short, HTML is great for the actual page content.

I've tried all the stuff mentioned above on my test page, and they've all worked successfully.

But it's very limited in the formatting you can do. And that brings me to CSS, which is great for formatting text and images. It is easy to understand and creates some pretty darn cool stuff. CSS was actually created because HTML wasn't created for formatting. Nope. But people were using it for that purpose. Tags like <font> and color were added to HTML 3.2, but web developers would have to add that stuff to every page, which took, as you can imagine, a very long time. So The World Wide Web Consortium (W3C) created CSS. All formatting could be removed from the HTML file and stored in a separate CSS file.

But what does this mean? It means background images. It means easy font coloring, being able to change the font of the page, and a bunch of other aesthetic stuff that gives a website visual appeal. Admit it, you'd rather browse a cool-looking website with images and colors than a plain left-aligned black text page. Everyone would.

So that's my next thing to learn, and I think it should be fun. The code isn't confusing and I'm picking up on it fairly fast. It seems to be even easier than HTML tags from what I've seen so far. It's incredibly easy to link a CSS file to an HTML file, which is good. I have to remember though, that I can't make it distracting or it'll take away from the actual contents.

Peace out.

Wednesday, February 20, 2013

Where to Begin?

When we were first assigned this project, I wasn't sure where to start. I thought of some things that I might enjoy spending a significant amount of time doing over the next seven weeks. So I started by thinking of things I enjoy doing. I like writing, drawing, and I recently started enjoying computer programming after taking Intro to Computer Programming at school.

I realized however, that I've already done all the writing I want, and I do enough writing outside of school without having to do any extra for this project.Then I remembered that I have been trying to make a good website for my novel series for a while, without actually being fully satisfied with the pre-made templates or having to pay for the features I wanted. It also just seemed too simple. What's the fun in having someone do all of it for you?

So I realized a solution to all of these problems would be to create and code my own website. It would suit my needs perfectly, it would present a good challenge, and it's something I've been interested in. Most of the little  HTML code I know is from my experiences on the website figment.com, because we use some to post pictures, links, and create some text effects.

My final result would be a finished simple website coded by me. I will learn some HTML, CSS, and JavaScript code to create all the elements of a good website. I know it will be impossible to create a nice looking and bug-free site in such a short period of time, but I can learn the basics and begin to explore the huge world of web design.

Week 1 - Learn basics of HTML (which is for creating the actual content of the website)
Week 2 - Learn basics of CSS (which is for designing and formatting the website)
Week 3 - Learn basics of JavaScript (which is for creating dynamic elements, such as displaying the current date or time)
Week 4 - Learning how to use them together
Week 5 - Making a real simple website with what I've learned
Week 6 - Adding extra features and designs

I have all the resources I need to actually create the website, which includes Visual Studio for the coding, and an Internet browser to test the results of my work. I have also found an interesting website here that provides a tutorial for each of the three types of coding I want to learn.

Peace out.