5 April 2015


Updating My Site


Updating my site was quite an interesting experience. We first built our personal sites during week 2 of DBC. It was a pretty hectic time back then as we were tasked with learning HTML and CSS in a single week and then to top it all off had to build our sites. Having had no prior HTML or CSS experience, I can still say that week was my toughest week at DBC to this point. But in the end, I was able to come up with a functioning, fairly nice looking site.

One thing I rushed over when building my site the first go around was CSS. Given that I was working with a strict deadline in week 2, I decided early on I just wanted to have a functioning site more than a beautiful site. Given the opportunity to update my site in the following weeks, I decided this is where I wanted to focus most of my time. I did things like created navigation buttons for my blogs. Chose a better color scheme for my blog that didn't clash as much. Used rounded borders on the images that I was using for buttons on my home page and navigation bar. I also integrated a few different fonts into the blogs to make things more interesting to the eye and also played around with font sizes. And in the end, I had a site I'm really happy with.

One thing I found especially challenging upon revisiting my site, however, was how difficult it was to understand some of the code I had written. Given, that I was in such a rush in week 2, I had done whatever it took to get my site working and had spent hardly any time at all refactoring my code. I had been pretty cavalier with Id's and classes and as a result it was tough to understand my code. Consequently, I spent several hours just going through every line of HTML and CSS and making sure it made sense and was necessary. I got rid of unnecessary Id's and reorganized classes so they made sense. I also inserted comments into the HTML page (something I hadn’t done first time around), so it was easier to identify the different elements on my page (ex. header, sidebar, main) and their corresponding nodes. The whole process reinforced the notion of writing code that works today but can be easily understood and modified in the future.

Looking at my site today, I'm quite proud of it. The thing I like the most is weirdly the red navigation bar with the circular icons. There are still things I'd like to change though. I looked at using frameworks like Bootstrap or Jekyll, but to be honest I haven't had the time to implement that sort of change this week, as I've been so busy getting moved into my new place in SF. I do like the benefits of those sort of structures though, and I think it would be especially helpful for managing my blogs as currently I have to update each of the links on each of the blog pages, every time I write a new blog. I'd also like to integrate more images and graphics into my site, as right now it looks like a lot of text, but I hope to do that in gradual stages.

Overall though, I'm a pretty proud web developer.

- S.G.

Prev Next