Tuesday, 10 September 2013

Image Optimization among other things

This week we have been playing around with our website build. 
I chose to design a jewelry website and showcase designers and their jewelry.  Firstly we drew up and designed a sketch of what layout we wanted our website to form. We were following the layout that Philippa has supplied with the Evolve mock up but we could change it around slightly to fit our content. 
So we started building it by using the HTML from the Evoke website that we had already created in the last few weeks and linked a new CSS file to this new HTML file using the <link href="css/goodasgoldstyle.css" rel="stylesheet" type="text/css" />

 We then reset the margins to zero using the universal tag (in css)
*{ margins:0;
border:0;
padding:0;
}

To ensure that the CSS has linked correctly you can add a background colour and test it on the browser

body{ background-color:#333;
}

I learnt quickly that you don't need a hash in front of the body tag as it is a natural CSS tag. With the # it doesn't work.

Next, we added all our div names onto the CSS 
ie. #container{
#sectionOne{

This ids are what i have given them and the CSS doesn't recognize them, so they need a # to reference that particular part of the HTML.


We then took our chosen images into Photoshop and adjusted them to the correct sizes needed to fit into the sections we laid out.

Using the slice took or image size adjustment I changed my images to suit. I also used the content aware took to widen some images so they sat nicely on the page. 

We then saved these files for web. 
By doing this it allows you to choose how you optimize your image. You can change the resolution and also adjust the way the file is saved, all while showing you how many pixels it will require to save in that way. 
The choices are  gif, jpeg or png

These need to be saved into the same place as our HTML index and CSS
I created a separate folder for the CSS and the Images to keep them tidy and away from my HTML files.


  To add the images into the HTML you need to select into the correct div and use the tage <img src="folder/pathtoimg" />

But you can also add the folder into the CSS file instead of the HTML 

#backgroundimage{
background-img: pathtoimg;}

 Positioning the images in the CSS you need to adjust the position etc
#socialMedia{
position:relative;
top:60px;
left:60px;
}

using positive numbers will move the image down, and using negatives will move the image up. 


If the image isn't sitting right in the box under the sectionOne closing tag in the CSS create another tag called #sectionOne img{ and change the settings}
I also had trouble with text and image within the same div, and found i had to separately adjust the p tag for it to work correctly and be able to adjust the padding without it changing the positioning of the image also.
We also started work on our second page which i called 'about'
To do this we copied the original index.html file and paste the copy into the same folder just renamed about.html

This then needs to be checked to ensure it still links into the same CSS file (which it should because its identical to the other file) and this can be done by simply opening the about.html file into the browser and it should be the same as the index.html file. 

Next we started dealing with the problem of the menu, beginning with the top menu and ignoring the bottom menu.

In our <ul> tags we needed to add anchors to link the page with where it needs to go. 

<div id="menu"><ul id="navlist">
<li><a href="index.html">Home</a></li>
        <li><a href="#">Showcase</a></li>
        <li><a href="#">Designers</a></li>
        <li><a href="#">Contact</a></li>

</ul>
</div> <!--end of menu-->

Linking the home button to the index page will bring the user back to the main page, and the # are there until the new pages for the other links have been created. 

Finally at the end of class we started editing in and out the content on the about page to suit the design which we had created. 

Yay, almost there. Getting one thing wrong is thoroughly frustrating but I'm slowly learning what I can do to change things. Two more weeks!!




Tuesday, 3 September 2013

Deesign of the interface

This week we learnt about the visual design process and principles when it comes to designing a web page. 
Research! This is obviously the first step. You cant create something amazing without looking at whats out on the market and whats new and hip.
Making concept sketches, developing a few of those concepts that you find work the best and present those 1 or 2 finals to the client to choose from. Giving the client too much to decide between can result in a monstrous web page with terrible design.

We also went over the different ways of finding a good layout for content and overall structure of the web page

  • Card sort
      • This is making cutouts for each piece of information that is needed to be on the page and playing around with them for layout and positioning on the page.
  • Wire frame
      • Get an online wire frame layout and then put content on there to see layout options
  • Paper Prototype
      • Making a paper prototype of the website to see if its working correctly. By 'clicking' on a link you can ensure that its travelling to the correct page. Cheeaaappp to make.
  • Clickable Prototype
      • Online tool of a plain background with clickable buttons to test the page and links are working correctly. 
Homepages are usually the first to be designed with a main theme and only a couple of variations are made as explained above to present to the client. But involving the client in the design of the web page gives them a feeling that they have contributed to it and personalising it for them. A client who hasn't had much input in the design might feel it doesn't speak the correct message or feels impersonal. 

Using Template Designs  can save a lot of time and money by not having to redesign each page. Only the key pages are designed such as the Home page and Blog page.

Philippa also went over the concept of Skeuomorphism which is the idea of making buttons and web pages more user friendly by making items look like actual objects.
ie. apple making the notepad look like an actual notepad or some web pages have coffee stains and stickers on them 



The Design Principles

  • Dominance
      • The heirachy of the page and its content
  • Directional Line
      • The direction in which the eye follows ie. using a person pointing in an image to direct the eye towards a certain place
  • Contrast
      • Difference ie. colour, hue, texture
  • Consistency
      • To make viewer feel as though still on same site even when many pages in
  • Repetition
      • Repeating things for usability and to keep viewer comfortable
Usability is a biggie. How usable is the website for the viewers?
The points for this are
      • Learnability
      • Efficiency
      • Memorability
      • Errors
      • Satisfaction
Using these ideas we went on to redesign a web page with a theme of our choice from a basic structure which Philippa provided. We will be continuing on with it next week and actually building it in HTML



Wish me luck



Tuesday, 20 August 2013

Sassy CSS

CSS!

Cascading Style Sheets help personalize and create a web page. It allows the style of a web page to be kept entirely separate from the content of a web page. This not only saves bandwidth, as when the DNS cache the data and location it also saves the CSS data and doesn't have to completely re-download the styles for every refreshed web page.
This also makes it a lot easier for editing.
Rather than editing each separate page of the HTML data (which could be hundreds of pages), you can simply edit one CSS file and change what is needed.

Firstly, ya need to link your CSS to your HTML file. 
This is just done by saving the CSS in the same location, then you simply <link href="whatever i called my folderdoodly"

I then need to repeat to the silly HTML that its a css file.
So after the folderdoodly" rel="stylesheet" type"text/css" />

Yay. Its linked. 

We then went on to basic syntax and structure
h1 {color:#FFFF;
font-size:14px;}

CSS uses the curly brackets instead of the <
ie. if i wanted to change the background colour of my main container i would type

#container {
background-color:#CC0000;
}
This will only change the background colour
Yes, I have spelt colour wrong, but the CSS only reads american english and so we are required to use their silly spelling.
The # in front of the ID is because the CSS also won't recognize the name I have given to the div.
I called my main body the container so the #container allows the CSS writer to identify the area that I want to change.

We also had to reset the basics, so the margin, border and padding (inside the box) are all reset to 0.

Setting the font-family is done by choosing a cascading selection of fonts
ie. tahoma, arial, sans serif
This means that if the web browser doesn't have tahoma installed, it can then use arial as a backup and if arial also isn't available, it will use whatever the default sans serif font is.

There are also three separate codes for identification;
ID is the #container
Class is the class that you want it in .orange
* is the universal CSS code and is used in things like the
 *{margin:0;
border:0;
padding:0;}

For adjusting width and height of divs, it is simply changed by typing
width:960px; within the { brackets in the area the change needs to be made.

Floats are how the divs are positioned on the page. So 3 containers that need to sit side by side horizontally on the page will automatically align vertically and to the left.
So to change this float tags are needed.

ie.
#boxone { float:left;
}
#boxtwo{ float:left;}

This will make the boxes change position, which can also mess around with the rest of the page.
So to stop anything below these boxes automatically floating up, the tag clear:both; is used.
So that pretty much sums up the CSS we have learnt this week.

=]

Tuesday, 13 August 2013

Code, code and more code and of course mark-up structure

Ahoy,

This week we have continued on with the code writing, with the addition of some new tags!!!
Also, we began using these tags to reproduce the layout of already created webpages. 

Some newbies we have learnt are;
<meta> which is how the page gets displayed in the SERP (search engine ranking pages)
<br/> the break tag which as is self explanitory, adds a break to the text
<div> the div tag adds a division into the page and an 'invisible box' around the information. This is only invisible until the CSS is added.
<span> span isolates the texts for individual styling, kinda like the <strong> tag giving bold, the span could be used to colourize a certain selection of text




The list tags:
<ul> this is for unordered lists which as default on most browsers is set as bullet points.
You can also create secondary lists under the main points
ie.
<ul>
<li>Home
<ul>
<li>Pages</li></ul>
</li>
</ul>

This would create a list like this
  • Home
    • Pages
There is also the <ol> tag (ordered lists) which gives numbered lists

  1. Home
    1. Pages

There is also a tag for when you want to leave notes on your code that wont appear on your webpage,
this is <!---description-->
This commenting can still be read in the source code of webpages unless deleted before publishing. 
On Google Chrome you can access the webpages source code by using Ctrl+U


Also using the <a> anchor tag we learnt last week we can add emails to our pages! 
ie.
<a href="mailto:ellejbrennan@gmail.com" target="_blank">email me at:</a>

This usually will open in a installed email program such and microsoft outlook (which noone really uses anymore) so it has little use 

We then went on to recreate a webpage that Philippa had already designed using ID tags to identify our individual <div> tags.
Camel case is one way to help make code IDs easier to identify, such as <div id="bigPicture">
This just makes the words a little easier to make out once the page is full of code and stops it all looking like mumbo jumbo and the capital P is like a camel hump gettit! aahhhaaaaaha


Lastly we learnt a little about using hexcodes to create flat colours on the pages and escape codes such as &copy; for the copyright symbol

On another note we learnt how to add the social media gadgets onto our pages, so get at me. Check out my slick as profiles =]

Elle out.

Tuesday, 6 August 2013

Codecrackaa - AKA How the web works and HTML intro

 So this week its all about learning HTML and how the internet works and i took lots of notes (cause that's how I roll)

Basically this is what i wrote from what Philippa wrote and now am re-writing it for your viewing pleasure. Starting with how the internet works, from what I have gathered, all that websites compose of are collections of files. Each device for example a computer, iPad, cellphone, or anything with access to the internet has an IP address - which stands for Internet Protocol.
An example of this we were given was 210.54.8.253
These numbers are converted to something which us beings can read and remember such as www.witt.ac.nz. Simple. 

Bytes = the measurements of data transfer. The smallest measurement of this data transfer is called a bit, which holds a value of 1 or 0. 
Web addresses use a Domain Name System (DNS) which automatically connects the domain name with the IP address. 210.54.8.253 = www.witt.ac.nz
URL is used as a specific webpage on the internets. This means Uniform Resource Locator... So many abbreviations. This is the http://www. that is in front of the DNS.
DNS servers accept requests from other servers to converts Domain Names into IP addresses.
DNS servers also cache (store) the directions to the IP address so they are easier to find in the future. 

Computers that are connected to the internet hold on of two names. They can either be;
Clients - machines that access the internet
OR
Servers - serve things out to the client machines

Browsers are the amazeballs part of the operation really, cause without them we couldn't browse. That is my favourite thing to do. They open/render the website on screen when the page and its content download to your machine, once the web server has located said content. 
A browser is a program that you install onto your comp which allows the easy access to view the content online. 
The wonderful browser reads the code of the website files and renders them onto your screen. 

So all these words make the internet possible! And that means I can waste my time looking at cute pictures of kittens and stuff. 

HTML is short for Hyper Text Markup Language so it pretty much marks things up. 
It is the industry standard but definitely not the only way to write code and create webpages. 
Knowing about the code and how it works teaches how websites are constructed. 
We will be using Adobe Dreamweaver and learning HTML1 (cause we are too cool to learn that new 5 one).
We just learnt some basic tags today like:
 <h1></h1> for main header
<strong></strong> for bold
<a href="http://www.google.com" target=" blank"> for a website anchor

Sweet eh. 
Makes little sense when like that. 

Also, I have a new twitter account now. 

Get at me 
https://twitter.com/@sugarteef 


Saturday, 3 August 2013

My puppy!

Just a photo of my baby Rosie xx

History of zee interwebs and other exciting tales

So this was our first week of the semester and the discovering of the Internet and all its secrets!

I always thought of myself as 'computer savvy' but it seems that the addiction I have to the web comes without any thought towards its history. After being shown part of a BBC2 doco called 'The Virtual Revolution' I realised how little I actually know about it or how it came to be.

The birth of the Internet we know today began with a U.S government program named ARPA. This was in 1962 before the word 'Internet' had even been coined. By 1969 university's were beginning to use the systems, known as ARPANET which became the basis of hosts and new operating systems were being created. Interest was slowly growing and ideas flowing and by 1974 the idea of linking these ARPANET networks together became the creation of TCP/IP by Vint Cerf. Around 1977 the first commercial PC was created which also had a massive effect on how we have such readily available access to the web today, unfortunately the following year was also the first for spam :[. With this new development and PCs becoming more common the first virtual communities started to appear, the first of these was The Well. People were suddenly able to connect and discuss anything and everything with others who had similar interests and knowledge and this created a large (for its time) online community. The Well is still online and operating to this day with an active underground community of dedicated members!

 A prominent name comes up when you search for creator often internet and its Tim Berners-Lee. Berners-Lee wasn't the creator of the Internet but is the creator of the version of the internet that we know today. He created the idea of the World Wide Web and the use of a global hypertext system and by 1990 this was in place as well as HTML, HTTP and URLs.

The Internet has since expanded at an amazing rate with most homes having a computer with a connection and the introduction of computers into technologically secluded countries such as Africa. Seeing the effect the web has had on our society through availability of information and the freedom it gives to its users, will this change the societies not yet affected by it in a negative or a positive way? The web gives its uses the ability to research anything, see places they would normally never dream of, express their own opinions, listen to others and have the freedom to think for themselves. Access to the rest of the world has never been easier, as here I sit on my comfy couch on my iPad typing away. I have to say, the iPad was not a good choice for writing this essay of a short story.

So what have I learned? Who created the reason I have the freedom to learn and have access to knowledge I require. I'd give them a big high five!

And I have learned how to make a blog. Hurray! Hopefully someday ill be a web master, not just a social media addict.

K, thnx for reading.


Elle