Other memorable lessons over the last two weeks revolve around web design. I’ve learned a great deal about using HTML since teaching it over a decade ago! For instance, HTML should only define the information that will be present on a webpage, as well as to divide and label important elements. The CSS file is incredibly powerful in its ability to create the aesthetics and to modify the overall appearance of a webpage quickly. Its effectiveness depends upon how well structured and labeled the HTML elements are written. jQuery completes the trifecta, and in combination with CSS definitions, can allow for easy manipulation of elements on the screen. The best implementation I’ve witnessed of this feature involved a CSS that defined classes that didn’t yet exist on a webpage; but by using jQuery, classes can easily be removed or added. As a result, stylistic changes declared solely in the CSS file come into being when jQuery drives these changes, manipulating associated elements with one or more classes via scripting.
The browser inspect tool, found within the developer console of any browser, has turned out to be a greatly prized weapon in fighting the war of HTML element identification. It can also be helpful in tracking changes that are happening in realtime to any HTML file as a result of JavaScript. The console permits various adjustments to the HTML elements in realtime, allowing for experimentation and CSS tweaking before copying those changes to source. This sure beats making edits and then reloading the page file every time a change is made to the HTML or CSS file!
All in all, learning continues at an appropriate pace, practical tools are added daily to my toolbox, and overall confidence grows in wielding these tools for good. I can’t think of a better place to be in, given that today marks the half-way point for the course! I cannot wait to see what revelations will take place over the next six weeks!