Monday, 19 September 2011

Lesson 6-Proposals and Learning JQuery

This lesson, we handed in our proposals. Unfortunately I forgot to mention to web hosting, but luckily, I still got a green light. In the final proposal, I will have to talk about web hosting and how i plan to try out free webhosts with PHP and MySqL until i find the best one.

After searching up layouts containing JQuery, I was extremely enthusiastic about learning JQuery as it seemed amazing.
http://net.tutsplus.com/tutorials/javascript-ajax/create-a-cool-animated-navigation-with-css-and-jquery/
http://css-tricks.com/695-learning-jquery-fading-menu-replacing-content/

This lesson, i achieved little progress however I managed to learn a lot of JQuery basics from this site
http://www.w3schools.com/jquery/jquery_syntax.asp
This site has good step by step tutorials
For example, i learnt that...
$(selector).action() is basically all JQuery is. $ defines Jquery, selector tells it where I am talking about and action tells me what to do with that section.
The way you tell the selector where you select is...
.something means there is a div named something
"p" means something a p tag
# means id

When i tried these out i found that they did not work. So after googling at home, I discovered that you had to use
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
instead of...
<script type="text/javascript" src="jquery.js"></script>
Also, after going my script again, I found a mysterious Ul and Li tag. Apparently, according to the below website, they suggest a list and bullet points
http://www.w3schools.com/tags/tag_ul.asp

No comments:

Post a Comment