Sunday, June 19, 2016

HTML/CSS Invitation and Resume

For this week's assignment, I had a lot of fun with small experiments in coding. I actually really enjoyed the logic that guides it all, even if there is some bit of a learning curve (and sometimes there is a sense of redundancy). I've been studying (and teaching) liberal arts for so long I forgot how much I liked the rules and rigors of logic; I got into Classics because Latin was such an appealing logically language!

For the invitation, I thought I would have some fun making an invite for my cat's birthday! I've actually have never held a party for her, but now I'm thinking I should! The first obstacle was identifying what kind of CSS I needed. I started trying to do an external sheet, but realized that wouldn't work. So I switched to an internal sheet. The box model itself was pretty basic and easy to understand. I had some minor adjustments to make with the pixel width and height of the box. My major two obstacles here were finding the right spacing between the text of the invite and the photo I decided I needed, and second, was centering the invite. For the space between the picture and text I had to figure out that I needed to use padding instead of margins, which is what I first used. For the centering, it was simpler to identify, but it took me a while to realize that I needed to adjust the margin. I had first looked at text alignment and even layout.

For the resume, I immediately realized that I needed to create an external sheet. I decided the basic elements that I wanted to include in header, section, and footer. The first obstacle I encountered was the spacing balance between photo and text (again). Here, I couldn't figure out how to make the text align centered if the photo did not extend vertically to the end of the text. In retrospect, I probably could have experimented with columns or tables. But I opted instead to extend the image vertically by pixels (but then had to adjust the pixels horizontally for proportions). After that, I made slight adjustments to the color and style of the headers and the font of the sections to fulfill the requirements.

Overall, I really enjoyed playing around with coding. I actually ended up working with only the W3 tutorials. I preferred the written instructions over the videos. But as projects get more complicated, the videos will probably streamline the process. Knowing basic coding will be helpful making quick and easy web announcements for speakers at school events.

No comments:

Post a Comment