Free Code Camp: CatPhotoApp
The jist of it
Created a basic web app using Bootstrap. Practiced implementing forms, buttons, divs, and images with a responsive design. Nothing crazy here, just an introduction to web dev.
Tools
- HTML
- CSS
- Bootstrap
Challenges
I have basic web experience from my college projects and personal portfolio, so I haven't experienced any great challenges yet.
Things I learned
- Sometimes people create dead links: <a href="#"></a>
- Always have alt text in a photo for screen readers: <img src="cat.jpg" alt="A cute orange cat">
- Use a place holder for forms: <input type="text" placeholder="Enter text here">
- Make the form mandatory by adding keyword 'required': <input type="text" required>
- Submit a form with pure html: <form action="/some-link">form goes here</form>
- Radio buttons (another type of input) should each be within their own label and can be grouped by assigning the same name: <label><input type="radio" name="example">Choice 1</label><label><input type="radio" name="example">Choice 2</label>
- Ditto for check boxes (see above): type="checkbox"
- Default on for radio button or check box, include the word checked within the code: <label><input type="radio" name="example" checked>Choice 1</label>
- Clockwise notation can be used for margin and padding values. This means that you can specify all values within one line of CSS by following a clocklike order (top, right, bottom, left): margin: 10px 11px 12px 13px
- You can use "!important" to ensure that this style is not overridden: .some-class { color: yellow !important; }
So despite previous experiences, I am still learning a good deal.
Also, I've been helping some of the newer coders on the Free Code Camp chat and I must say it feels awful nice! I remember being in their position and reaching out to the experienced coders. Give back to the community, folks!
That's all for now! Ciao :)
Comments
Post a Comment