Sunday, 15 September 2013

Reflection

So basically I have learnt that the web is intricate and really rather frustrating. But in all seriousness, I really enjoyed learning how to build my own webpage and how the internet actually functions. Looking at the basic code that we learnt and comparing it to the source codes behind webpages like twitter I cant understand how some people have the patience to deal with the frustrations that come from making one tiny mistake. I know it isn't just one person creating the pages, but man.. 

I do really look forward to continuing on with this though and will enjoy it a lot more when I have enough knowledge to deal with the little mistakes I made and how to fix things when they wont do as they are told or sit where they are supposed to on the page. Even though I find it fries my brain trying to fix the tiniest problems, I will definitely continue on with the class and learn all I can. With the web being such a major part of our society and even more of our future I believe it an important skill to know and to be able to build on especially in the industry of Graphic Design into which I want to enter 

Menus and Videos to make that webpage the most awesome ever

This week we learned about new formats of menus and how to embed videos into our code.
Firstly we went about changing the basic layout of the top menu which goes horizontally across the page allowing the user to choose which page they want to view.

We used a pre-made CSS code from CSS Max Design and as our menu goes across the page we obviously went with a horizontal code.

By copying this CSS directly into our own code we could simply alter some of the settings to get the desired layout. So that's one of the most basic menu layouts, but we also learnt about Sprite Menus.

A sprite menu is an effective way to make a button change when you hover your cursor over it. 
Instead of this being difficult and having two different images in the CSS to change between, a sprite menu works with one image and changes the position of the image within the 'window' through which you see it.


We created the layout for our button using Photoshop. It can be done simply by creating 4 squares and changing them to suit. 
So if your button is 100px wide and 80px high you need to create a square that is 200px wide and 160px high to accommodate the other 3 squares

After designing out menu layout we used the Menu of Awesomeness for the Sprite menu CSS and tested this in a new HTML and CSS file (not our website layout as this menu was just for a practice) and after making sure the HTML and CSS were linked (by changing the background colour) we then added the new CSS info that we downloaded from the menu of awesomeness. After this was added we went through and changed the settings to achieve our own style and info. 
This included adding our own sprite menu image into the CSS and changing things like the hover to suit our own measurements. For example the hover needs the image to go up and across for the change to be in the right spot, so the hover needs to be changed to -100px, -80px;

Now onto the video embedding, when using video or YouTube they both have a share button. Once there it has an embed option and gives you the code to add to your CSS

Easy peezy

Also, if you wish to see this

Yeeeeaaaa


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