This is only the beginning…

Coding is used for almost everything we do in the current world In this age of technology, the perfect code can change the way things are done and simplify the way someone engages with a certain activity or task. Getting a chance to learn coding is so exciting because I get to be a part of a ever evolving industry and get to put my mind to the test. I am not sure where I will end up with coding as of now since the industry is so vast and the options are numerous. Eventually I would love to pursue a career in the video game industry to complement my passion for gaming.

I am currently at the beginner stages of HTML and am beginning to learn a lot of new things. It is very stimulating and at times it makes me want to pull my hair out, but there are moments when things just click. I am learning new terms and definitions such as what HTML stands for: Hyper-Text Markup Language. When starting a new HTML file, you need to specify the doctype at the top of the file so that this helps the browser handle and load it properly.

Browsers read your CSS selectors from right to left. Selectors work by having the browser find the object in cascading order. Browsers filter out elements in the DOM according to the key selector, and travers up its parents elements to determine matches. The shorter the length of the selector chain, the faster the browser can determine if that element matches the selector.

HTML has both element and tags and although a little confusing, there is a difference. An HTML tag will be used to mark up the start and end of an HTML element; <p></p>. An HTML element represents some kind of structure or semantic and generally consists of a start tag, content, and an end tag: <p>This is the content of the paragraph element.</p>. Elements can contain other elements within them.

CSS stands for Cascading Style Sheets and it is used to format the layout of a webpage. With CSS you can contorl the color, font, the size of text, the spacing between elements, how elements are positioned and laid out, what background images or background colors are to be used, different displays for different devices and screen sizes, and much more. CSS can be added to HTML documents in 3 ways:
1. Inline — by using the style attribute inside HTML elements
2. Internal — by using a <style> element in the <head> section
3. External — by using a <link> element to link to an external CSS file
The External method is most commonly used.

There are three main ways a style sheet will cascade in a website. The first way is that one simple style can affect several HTML elements. Using tags, you can easily manipulate the color of a text by using CSS by applying a rule the the specified tag. The second way is similar to the first but a little reversed. One HTML tag can be affected by many styles in different way. You can target specific elements to have different styles. The third way is to use the power of style sheets to create large-scale websites. We can use one style sheet to effect many pages across a website or even multiple websites. You can link several HTML files to one style sheet to have the same style across the website.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store