Digitals of an Undergraduate

Chloe, 19 from Hertfordshire, UK. First year Digital Media Design student at Bournemouth University

Brackets and FileZilla Workshop 02/11/2014

Leave a comment

A lazy programmer is a good programmer

In yesterdays workshop we carried on working with Brackets and FileZilla, the aim was to get a better understanding of html and using the server. We were given the html code for a website that had three boxes in and we were asked to change the code so that we didn’t need to copy and paste the box code three times. For this, I created a new file named ‘box.php’ and copy and pasted the html code for a box:

 

Screen Shot 2014-12-02 at 14.25.23

*Click on image to enlarge*

 

 

To make it even easier, I then changed the index html so I could just change the number of boxes instead of copy and pasting anything. As you can see, I have changed the number of boxes to 9; instead of 3:

 

Screen Shot 2014-12-02 at 14.25.03

This is what the final website looked like with 9 boxes:

Screen Shot 2014-12-02 at 14.30.31

Advertisements

Author: Chloe Rose Hutchings

Chloe, 20 from Hertfordshire BA (Hons) Digital Media Design student studying at Bournemouth University.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s