Intro to web development
Web development is actually really easy to kickstart and in this article i will teach you how to create your first webpage, before we begin there are three basic programming languages used in web design and they are:
- HTML (Hyper Text Markup Language)
- CSS (Cascading Style Sheet)
- JavaScript
HTML defines the structure of webpages, there is not a single webpage on earth that has no HTML coding in it's structure, HTML is the backbone of all webpages.
CSS, which stands for cascading style sheet is a frontend language used to define the layout and presentation of the HTML code.
JavaScript being a complete programming language on its own defines the behavior of a webpage, it makes webpages interactive, when you visit a webpage and click something on it, you get some sort of response/output, this was implemented with JavaScript, JavaScript is also used in other fields like creating cross-platform native mobile applications
Write your first HTML code
Now that you have an idea of what the web is built on, it's time to start coding...
- Step 1- open up a text editor preferably notepad on your desktop and on line 1 input the following
- Step 2- after this, move the mouse pointer to File at the top right corner of notepad and click "Save As..." or use the shortcut CTRL + SHIFT + S
- Step 3- a dialogue box will appear informing you to name your document, navigate to: Save as type click on it, and select All Files(*.*) then name your document "my website.html"
- Step 4- notice the file type ends with html, if you save it as a .txt file it will remain a text file but we have added an html code in it called "h1" meaning heading 1 so the file has to be saved as a .html file for it to be seen on the webpage now close the text editor after editing and open the my website.html file, it should open in your default browser and there you go. You've done it, you have sucessfully created your first webpage
Now that is just a way of creating a basic webpage using html, css could be used to beautify webpages like add color to the texts and so on while JavaScript could define the behaviour of your webpage like give visitors of the page something to interact with when they click on a text for example it could display something else and so on, if you want to learn more about web development, we will be broadening our horizon soon by creating an indepth tutorial soon to prepare you for the role of a web developer, and you could also go on the career path of a software engineer creating iOS and Android applications. Its all about passion and natural interest as well as keeping a relentless pursuit.