Category Archives: 2017 Summer class

Wins and losses from my first homepage

This weeks work made me warm up to Codecademy a lot more than I expected. I really enjoyed learning about CSS and seeing what more “front-end” web design looks like.

After this week I definitely want to focus my time on front end changes during my bigger projects. First, it more closely reflects the type of web development I would do at work, and secondly I enjoy making things look pretty. CSS gave some immediate gratification when it came to making changes, and learning about all the options I had when it came to color, sizes, and fonts was really interesting.

There were some minor things with Codecademy that I didn’t like. Perhaps the main thing was that if I got stuck on a lesson that had 3 or 4 different steps, the program would often give all the code for those steps, not just the one I was stuck on. That make it harder to learn the later steps, since they were already done for me.

I also had some struggles with getting Sublime Text and GitHub to play nicely together. I was able to make some basic code, save it, and drop it into my monitor and see it, but when I imported it into GitHub I couldn’t find the code. I tried looking around on the internet to see where I went wrong, but to no avail.

If possible, it would be nice to do these things in class together as a trial, so I know if I’m moving in the right direction or not. With the on your own work I felt like I was poking around in the dark, which to some extent is fine. However, since some of these concepts are so new to me, it would be really helpful to see things get done in class so I get a better idea of the flow of these programs, like GitHub.

 

Adventures in Creating a Homepage

Using HTML and CSS

Now I understand what Prof. Linch meant by having an idea of what you are developing before you begin. When building my new homepage, I started putting in code before I really knew what I was doing… and about 30 minutes later, I deleted most of it and started over with a vision! (see below)

screenshot of homepage

A couple challenges I faced that required a Google Search were:

  • How to link certain text within a paragraph and not the entire graph, or having to have the text on a separate line
  • How to download an image from the web and use it, legally cited of course, on my page; then how to display it on my homepage
  • Why my background color displays in Safari but not Chrome (Still unclear, ha! Something to do with fact my HTML file is saved as Chrome and my CSS file is saved Safari? Is that default — I didn’t select that.)
  • Several failed attempts to link my HTML and CSS files 🙁 But alas, some tiny edit made it click! (I think I simply removed a forward dash before style.css!)

My next challenge will be to further the CSS styling on my homepage. I plan to visit a few sites I know I like the look and feel of, and study the source code to see how they have been developed. There was so much to learn about CSS styling in our Codecademy lessons this week — I would like to play around more with opacity, overlapping content, margins, padding, etc…

I appreciated the w3school’s article, “Responsive Web Design – Intro,” especially the images of the expanded desktop, smaller tablet, and compressed mobile display. The article did a good job explaining what responsive design is, how it works and should look, and how to program the tool (though a lot of practice is warranted). Seems like a practice every programmer should utilize this day in age for UX given that mobile is taking over as the top device on which user access the web. Once the article gets into “grid-view” and “media query” I got a bit lost and was wishing I was taking a lesson in Codecademy:) On a related note, I found the alistapart article outdated and hard to follow — give me some images!

Cheers!!

Jane

Google is a Girl’s Best Friend: My First Attempt at Coding

This week’s prototype homepage assignment was my first attempt at creating a webpage using HTML and CSS. It would be a huge understatement if I said that I struggled with this assignment. I decided to create a prototype homepage for a personal portfolio site/blog, and creating just a single page with HTML and CSS took a great deal longer than I had anticipated it would. I was grateful that I had completed the Codecademy lessons 3-8 earlier in the week, as it gave me more time to work on creating the homepage over the weekend.

I encountered a number of issues when coding the HTML and CSS for my homepage, the first being perhaps the most simple element of all—linking my CSS stylesheet to my HTML code. I’m going to be honest and say that it took me more than an hour-and-a-half of troubleshooting to resolve the issue and to correctly link my style sheet. This brings me to the title of this blog post—Google really is a girl’s best friend when attempting to code. I cannot begin to explain how many times I Googled various aspects of HTML coding and CSS styling while working on this assignment. I found that referring back to the Codecademy lessons was often not enough, and that I needed additional assistance from the w3schools site and other sources to correct my code. Some of the issues I struggled with included figuring out how to add margins around the text and image on my homepage; applying the classes, IDs, and div concepts to my HTML; and creating and styling a navigation bar. The latter concept was referred to during the Codecademy exercises, but I had to enlist the help of Google, a w3schools tutorial on navigation bars, and a classmate (thank you, Amalia!) to fully comprehend how to create a navigation bar at the top of my site. I’m still not entirely pleased with the formatting of my navigation bar, as I wasn’t able to figure out how to increase the space between the various links/tabs. I hope to resolve this issue in the coming weeks. I also want to figure out how to get my h1 headline and navigation bar to appear on the same line, rather than stacked as they currently appear on my homepage. Does anyone know how to do this?

I read the articles on responsive web design after I had begun working on my homepage. These articles reiterated the “mobile first” mentality that seems to be pervasive among programmers and developers. With the majority of sites being accessed on mobile devices such as phones and tablets, it is important that a site’s design accounts for the different screen sizes that viewers are using to access the information. This “mobile first” mentality is also something that public relations and marketing practitioners consider when creating content for their target audiences. Making your client’s or brand’s content easy to access from a variety of devices ensures that your audience will be able to access the content using the method that is most convenient to them, thereby allowing it to reach a broader audience. I’m still a bit confused about the concept of media queries and how to apply them in my code, but I am sure this is something we will cover in class in the coming weeks.

I was able to upload my prototype homepage without issue using the GitHub desktop app, but I did find that the interface of my desktop app was different from what was featured in the “Getting Your Project on GitHub” article. Despite this, I found creating a new repository and adding my code files via the GitHub app to be relatively straightforward.

Here is my GitHub prototype homepage repository.

Creating My First Real HTML code

This week’s homework was very exciting. Although the Codecademy modules took a long time to get through, I learned valuable ways of coding to create a fundamentally sound and aesthetically appealing website. When creating my website, I wasn’t sure where to being, and what type of website I should create. I began thinking of my favorite things, one being going to my country club Gibson Island on the Chesapeake Bay in Maryland. I have been going there since I was around four years old for different camps and such. It truly seems like a hidden gem that more people should know about, it is a beautiful place. Therefore, it is in my thought process to create a better website for Gibson Island when it comes to my final project. Although  my coding on that particular website needs a lot more detail, I think it is a good starting point.

When doing this week’s modules, I found myself a bit more confused about the different types of things going on. I can’t exactly say that I completely understand what a “class” is or what the true purpose of a “div” is other than to create a grouping, but am a little unsure as to why there would need to be different groupings.

During the readings, especially in A List Apart- Responsive Web Design  I was kind of shocked that you need to code in different ways for different devices. I guess that makes sense, but it opened my eyes to the fact that not all screen sizes can read code in the right way, which is the reason some websites don’t look correct when used on a cell phone. It is because they are unresponsive I have learned.

Overall, I am becoming more and more comfortable with the language needed to create an HTML website with the use of CSS.

RWD for Newbies

This week’s assignments were tough for me. Frustrating. It’s like we went from “Je m’appelle Molly” to translating Victor Hugo. That being said, coding is enjoyable–the actual coding. The logic of learning it is frustrating because it feels just on the verge of intuitive yet isn’t. However, the before and after is fun. I like searching out little issues on the W3 School’s website and figuring them out as I go. There is such a sense of victory when you realize that it was just one tiny misplaced bracket that was standing in the way.

The Ethan Marcotte article on A List Apart put the idea of web design into perspective for me–particularly the transient nature of the beast. Even the simple fact that the article was published seven years ago makes the reader think on all the changes that have happened in the meantime. The way Marcotte compares web design to architecture resonated with me. I love the idea of responsive design–he’s right. There really is something elegant about it.

I’m bookmarking the W3 School page because it looks like something that I’ll be needing in the next couple of weeks. Their format is very helpful to me. Even while I was going through Codecademy I kept thinking “Is there an index somewhere???” and then I stumbled upon this particular web page. I’ve been going through and reading some of them actually as background for the Codecademy assignments! While I worked on my homepage I tried a few things just to see what they would make.

Ditto bookmarking this GitHub page. I know it’s straightforward, but I’m still having some trouble with it. I can’t seem to find things on the desktop version vs. the browser version. I had to make my repository for my homepage in the browser. I don’t think there’s much of a difference? Regardless, this page will be extremely helpful in the future.

 

Linking Languages Together

This week we learned about various CSS elements that help us provide very specific design elements that jazz up our web pages. As we went through each long assignment, I loved how detailed CSS allowed you to be in designing your web page — down to the position on the page, font size and color, and more. However, I did find it difficult to fully digest and be able to reproduce so much CSS information all at once — in our prototype webpage assignment I felt as if I needed to go back and check how to execute every single command that I wanted on my page. I also definitely understood how difficult it could be to construct detailed websites with lots of different style elements across different pages – I can’t even imagine how much time and energy that must take! As much as I enjoyed being able to manipulate my page in this way, I did find it challenging to try and go back and remember the various HTML commands we learned in the previous week, to make both parts of our web site fit together seamlessly. Personally, I don’t think we spent enough time getting comfortable with the HTML language before moving right along to CSS, though I’m sure we will revisit it a lot throughout the rest of the semester.

In our readings, I really enjoyed reading the “Responsive Web Design” narrative on AListApart.com. Though it took me some time to read through (mostly because I wanted to try and absorb as much of it as possible, and therefore took the time to remind myself about specific verbiage), I liked that the author walked the reader through writing out each component, how that changed the architecture of the website, and the changes in overall responsiveness to the site as well – a subject I feel as though we have not touched on much yet.

Multitasking and Trial and Error

As a general rule I try not to multitask with my homework. Bad things can happen. Mistakes can be made and deadlines can be missed. This time, my decision not to do so cost me a lot of time this week.

The Codecademy courses are thorough and overall great. While doing each exercise and even after, I thought I understood the steps. I can run the new code without getting an error message or troubleshoot relatively quickly. I thought I was set. When it came time to actually write the code on my own, even for something very simple, I could barely do it without turning back to the lessons.

It did not help that Sublime did not recognize some of the code. It considered ‘px’ as incorrect code when I tried to change the font size. I also had some trouble linking my style page to the html. W3’s site and Codecademy were helpful but for some reason I could not find a solution for this.

I do like editing in Sublime though. As long as the rules are followed, they make it easy to read the code and go back and fix my mistakes. An added and non-code related bonus is that Sublime lets you change the editor’s background.

GitHub is still very much a mystery to me. I will definitely need to spend a lot of time working this on platform. I created a new repository for this project and while I was able to preview the site before I ‘saved’ it but could not after. This time GitHub and Google were my guides but I did not realize it was not showing properly until today.

Web Development will require a lot of trial, error, and Googling before I am able to get this right with, hopefully, fewer tries.

 

My First Ever Coding Experience

This week’s assignments were challenging, to say the least. While the Codecademy assignments were helpful, it was still challenging to take what the instructions gave you and apply it to the exercises. Coding is a foreign experience to me. I never considered myself technically adept at anything until I enrolled at Georgetown, so completing the exercises can be daunting. I have no idea how people learned to code without Codecademy, but I am so grateful it exists as a resource.

Creating my prototype homepage was not easy. It took me at least a solid hour and a half to complete the readings and apply the information from the readings to coding on Sublime. I had no idea how to use Sublime either. I made sure to save my coding on a word document just in case I did not save the Sublime document correctly. Luckily, that paranoia worked because I lost my original Sublime information and had to go back to my original code. While I wish I could have made something more complex, I am honestly just proud I was able to complete the assignment. I did my best to do CSS, googling the different HTML codes for different colors to make my code more “fancy,” but I was having trouble linking it. I also had the hardest time linking an image. Nevertheless, I am still proud I was able to code something simple on my own, even if it is not anything extraordinary. I can’t wait to see the progress I make from beginning to end.

Getting my code on Github was not easy. I had the hardest time uploading it to my Desktop app and had to google other links to find it. I made sure to save my prototype through Sublime to email to Greg just in case. Luckily, I was able to do it, after many Google searches and trial and error.

I found the readings on Responsive Web Design very helpful in making my code, even more so than Codecademy. It helped distill the information even more.

Overall, learning to code isn’t easy. But I am excited for what lies ahead. I am already making progress!

 

First Coding Experience & Responsive Design

Responsive web design:

My current employer, The Howard Hughes Medical Institute (HHMI), is completing their two-year “responsive redesign project” of our external website. It wasn’t until 2015 that our leadership understood the important of UX design and the increasing use of smartphones as our primary web browser. Through the first reading, it explained how we need to consider not only the minimizing of a website on a computer screen, but also consider different size phone screens, tablets, etc. The width of the screen can alter the layout of the page, including the number of columns on a page, images and the content on the page. W3C created a list of media queries to help web developers when creating responsive designs.

Important concepts found throughout the readings:

  • Mobile browsers are the present and future. Web sites should be flexible enough to be able to adapt to new technology.
  • Media query: allows web developers to target certain device classes and “inspect the physical characteristics of the device rendering our work.” (from Responsive Web Design)
  • Fluid Grids
  • Flexible images
  • Viewport Meta Tag: <metaname=”viewport” content=”width=device-width, initial-scale=1.0″> (from w3schools) tells the web browser how to control/scale a webpage’s dimensions based on the scale
  • Design for a mobile application first.

Experience with coding homepage prototype:

If we are being honest, coding the homepage prototype took longer than anticipated and I have a new-found appreciation for web developers and complex websites. I can’t imagine the time and planning that would need to go into creating a webpage that is both responsive and complex. While coding for the homepage, which I created for a food blog, I ran into trouble translating some of what we learned through the Codecademy lessons to the assignment. I struggled most with the lack of being able to see in real time the effect that one small piece of code was having on my site and went into panic-mode when two lines of CSS code altered the entire feel of the site. My biggest struggle was finding ways to create exceptions to rules that I had created within the CSS code early on that affected the layout of the page once I began adding content. I couldn’t find an easy way to create rule exceptions within the code and instead found roundabout ways to add in additional lists. How can we create rule exceptions?

Secondly, what I struggled with this week was adding in an image. I spent close to two hours trying to link an image I had on my desktop to the code and have it display correctly. Eventually, I decided to choose different pictures that were already uploaded to my Facebook page and used those URLs instead. Despite searching endlessly on Google for an answer to my question, I still am unable to link an image that is on my desktop to the HTML. Does anyone have any experience or advice for how I may be able to do this?

Finally, uploading to GitHub was no easy feat. I had created a repository using the desktop app, but it wasn’t properly uploading the files I had created using Sublime. Through Google, this article and the help of my fellow classmates (thanks, Jaclyn!), I was able to upload the files successfully. The article has been bookmarked for future use.

Looking forward to creating a responsive design and using other coding languages, I’m nervous, but excited to see what I can create!

Learning a new language: HTML/CSS

When I started the exercises for Codecademy, it took me back to the MySpace and AIM days when we would add in basic code, like bolding or italicizing words, into our basic profiles to make them unique. What I learned was at a different level, of course, but reminded me of the different purposes that coding could have for different audiences. I agree with what Mindy McAdams said in her post—sometimes it’s best to start to learn the fundamentals before diving into a project. While I learn by being hands on, if I were thrown into a project right now to code, I would feel overwhelmed, stuck and frustrated. By going through the exercises, I’m teaching my brain how to think and “speak” in a different language. Now, I’ll have to commit to the practice, practice, practice analogy. In continuing to read McAdams’ article, though, what is the added benefit of having a separate CSS document? Is that a personal preference or is it easier to use and read when collaborating with others? I suspect, that in general, it is cleaner and an easier way to set what a style guide is, but it could get lost.

The browser web inspector is a phenomenal tool. I’ve tried it via Google Chrome, and it’s interesting to see how Google created their webpages. Moreover, it shows how other websites, like Flickr, can embed tag upon tag upon tag to keep your images and content safe from copy/paste mechanisms and free from copyright infringement. This theme is important as I continue to think about the necessity for communicators, like journalists and those in PR, to understand the basics of HTML and CSS. We have to continue to dig deeper to find the truth and to protect what we know to be true.

While reading and completing the exercises, I had a few questions—

  • During the Codecademy exercise, it mentioned that using spaces (or the “enter” key) helps create cleaner code. Why is that the case? Should we be adding spaces as a best practices into our code? If so, where?
  • I am still having trouble understanding the difference between HTML/CSS and programming/scripting languages like JavaScript. What are the differences?

Profiles:

GitHub: