Skip to main content

Week 1- Part 2

Codes:

-  This will create a basic webpage with some text on it:

You need to have a folder for the webpage, with one folder called CSS, and one the name Index (or something similar)

<!DOCTYPE html>                                              
<html>
        <head>
                <title>Web Demo/title>
       </head>
       <body>
               Hello World!
       </body>
</html>

The body tag means the text on the page, so any text they would want on the webpage they should put it where 'Hello World!' is.


-  This will change the styles of the webpage that you created in the last tutorial thing.

Within the CSS folder make a file called style.css. 

html {
    font-size: 18px;
    color: #dedede;
    background: #232323;
    font-family: Arial, Helvetica, Sans-Serif;
    font-weight: 500;
}

Then link this file to the html page by writing  <link rel="stylesheet" type="text/css" href="css/style.css">

-  To add more text onto the webpage you add a paragraph tag (<p>) in-between the <body> </body> section.  

Then add a new rule for the paragraph tag in the CSS file.

p {
     color: #fefefe;
     margin-left: 30px;
}

-  This is to add in boxes onto the webpage. You put a div tag.


<div class="main-content"> 
      <div class="gridx3"></div> 
      <div class="gridx3"></div> 
      <div class="gridx3"></div>
</div> 

This goes in the CSS file: 
.gridx3
{
background-color: #aaaaaa; width: 180px;
height: 160px;
display: inline-block; margin: 10px;
padding: 5px;
} 

Comments

Popular posts from this blog

Making the website

I found it difficult to design what each of the pages will look like, and then actually code them to look like that. This is because I’m used to using Adobe products where you can just drag and drop items into the area you want them to be, however with web design you have to code it so that the item is in a specific place. Due to finding it difficult to set up the pages I decided to go onto Photoshop and design what I would want it to look like, then save each image as a JPEG so that the size has been changed.   I began with the Mosi Brief pages as I found it difficult to resize the poster size as it was way too big. I then changed the size of the posters, so they looked best, then saved them as JPEGS at this new size and added them into the Brackets folder. I then added these JPEGS into the brackets code, and they fit how I wanted them to.      I then did the Creative Play HTML, I designed it to show that it would look like. I wan...

Screenshots of website

Beginning bio for website

Hello, this is the online portfolio for Sophie Husteden. I am a first year Digital Media student at the University of Salford. Since starting the course, we have done six different modules, and learnt lots of new skills and how to use different software’s, such as XD, Aftereffects and Brackets. Overall, my favourite modules have been the KidsCan brief and the Dichotomies brief, this is because KidsCan is the closest to what I want to do for a career in the future, and I liked the contradictions brief as it was very interesting to think about. I also really liked learning how to code as it’s something new that I hadn’t tried before. My least favourite modules have been the App brief and Creative Play, this is due to the fact that I don’t really want to make apps for any future careers, so I didn’t find it interesting, and I didn’t like Creative Play because of the Animation course.