Among the types of CSS selectors, one that is often overlooked is the CSS Adjacent Selector.
Adjacent sibling selectors have the following syntax: E1 + E2, where E2 is the subject of the selector. The selector matches if E1 and E2 share the same parent in the document tree and E1 immediately precedes E2.
The CSS code
h4 + p {
font-weight: bold;
color: #000;
}
The text below is a simple example of the above code:
This is normal heading 4 text
This is the <p> after the heading. It should be bold and black.
This last Friday I took the Sun Certified Java Programmer exam (Java 5 edition). I am going to talk about the experience, what I would have done differently and why it will end up mattering.
So just how hard is the SCJP? Instead of phrasing it in some vague way, I’m going to tell you what I did and how it all worked out for me. For starters, I studied for about 25 hours over the course of 10 days before my exam. I would say that having 18 months of Java experience did not help much. I also took 2 practice tests but they weren’t as helpful as I would’ve liked. However, I do still highly recommend reading the SCJP Study Guide by Sierra and Bates. It was fairly thorough and contained many helpful tips.
1. Don’t create prototypes
Clients do not know what they want. Managers do not know what they want. When you prototype, you learn about the constraints you are going to face and your audience learns what they can have and what is impossible. NOTE: Try not to use your prototypes for production code, they are meant to be prototypes. Learn from them and don’t just….