This is a concise article introducing you to the practicalities of web development. You'll set up the tools you need to construct a simple webpage and publish your own simple code.
It's a lot of work to create a professional website, so if you're new to web development, we encourage you to start small. You won't build another Facebook right away, but it's not hard to make your own simple website online, so we'll start there.
- create index.html
<title>My test page</title>
- place your image in
<img src="images/myimage.png">line in
Now your folder looks like
├── index.html -> see below
│ └── myimage.png -> place any image
index.htmlfile with web browser.
🎉 You created your first web page. It looks like.
A Pen by Kavindu Santhusa (codepen.io)
When it comes to tools for building a website, there's a lot to pick from. If you're just starting, you might be confused by the array of code editors, frameworks, and testing tools out there.
Before you start writing the code for your website, you should plan it first. What information are you showcasing? What fonts and colors are you using?
A website consists of many files: text content, code, stylesheets, media content, and so on. When you're building a website, you need to assemble these files into a sensible structure and make sure they can talk to one another.
Hypertext Markup Language (HTML) is the code that you use to structure your web content and give it meaning and purpose. For example, is my content a set of paragraphs or a list of bullet points? Do I have images inserted on my page? Do I have a data table?
Cascading Stylesheets (CSS) is the code that you use to style your website. For example, do you want the text to be black or red? Where should content be drawn on the screen? What background images and colors should be used to decorate your website?
Once you have finished writing the code and organizing the files that make up your website, you need to put it all online so people can find it.
When you access your favorite website, a lot of complicated things happen in the background that you may not know about.
Thank for reading this article.
🏃♂️Follow me for more articles.
💖 or 🦄 this article if you can.