Professional Documents
Culture Documents
A website can be defined as a collection of several webpages that are all related to each
other and can be accessed by visiting a homepage, by using a browser like Internet
Explorer, Mozilla, Google Chrome, or Opera.
HTML is the foundation of all websites. It’s the main file type that is loaded in
your browser when you look at a website.
With CSS, you can add colors of all kinds, compelling fonts, and layout the
website in pretty much any way you please.
You can even add animations and draw shapes using more advanced CSS.
JavaScript
While CSS adds style to HTML, JavaScript adds interactivity and makes a
website more dynamic.
For example, you can use JavaScript to scroll to the top of the page when you
click a button, or to build a slideshow with buttons to navigate through the
images.
To work with HTML, CSS and JavaScript files, you’ll need to use a program on
your computer called a code editor.
Code editor programs like Sublime or VS Code come with a lot of features that
just make coding easier.
They allow you to indent multiple lines of text right or left, and can highlight the
text in different ways depending on what language the file is in.
VS Code: This lightweight version of Visual Studio, Microsoft’s main IDE, is only
a few years old but it’s gotten incredibly popular, due to its speed, ease of use,
and powerful features. VS Code is my personal editor of choice, so I may be
rather biased 🙂
Atom: Created by GitHub and advertised as a “hackable text editor,” Atom is a
well-loved editor. One of its main strengths is its customizability. You can install
packages and themes that will add features to the program.
Sublime: A hugely popular program that has been around for a while. Like Atom,
you can install packages and themes, and it also has quick performance. Unlike
the other two editors, a Sublime license costs $70 (but it is free to try).
This would be the HTML and CSS that we started out talking about. JavaScript
was originally just a front-end language, but nowadays you can use JavaScript
as your server-side, or back-end, language also.
Front-end work deals heavily with making the website look good.
In addition, it also involves making the site behave in a way that makes sense to
the user (also called UX or user experience).
Some examples of back-end work would be saving the data when someone fills
out a form on the contact page, or retrieving data to display blog posts in a
specific category that the user has requested.
Back-end work also may involve setting up the website on a server, handling
deployment, and setting up SQL databases.
Here are some of the things that you’ll have to work with in order to create a live
website:
Domain names are the address of the website, like Google.com, Wikipedia.org
or Harvard.edu.
In order to get one, you’ll have to choose one that is available, then purchase it
from a domain name registrar like Namecheap.com or Google Domains.
In addition to the domain name, you should also get an SSL (Secure Sockets
Layer) certificate for your domain. SSL will encrypt the traffic on your website,
which will help protect it from cyber attacks.
Shared servers: The cheapest option, can range from a few dollars to
$12-20 per month. Like it sounds, you share your server space with other
website “neighbors.” Upside is the affordability, and downside is slower
speeds and possible downtime if you exceed your usage for the month.
Popular hosts are SiteGround, Bluehost, and WP Engine.
Deeper dive
Web page
All web pages available on the web are reachable through a unique address. To access
a page, just type its address in your browser address bar:
Web site
A website is a collection of linked web pages (plus their associated resources) that
share a unique domain name. Each web page of a given website provides explicit links
—most of the time in the form of clickable portion of text—that allow the user to move
from one page of the website to another.
To access a website, type its domain name in your browser address bar, and the
browser will display the website's main web page, or homepage (casually referred as
"the home"):
The ideas of a web page and a website are especially easy to confuse for a website that
contains only one web page. Such a website is sometimes called a single-page website.
Web server
A web server is a computer hosting one or more websites. "Hosting" means that all
the web pages and their supporting files are available on that computer. The web
server will send any web page from the website it is hosting to any user's browser, per
user request.
Don't confuse websites and web servers. For example, if you hear someone say, "My
website is not responding", it actually means that the web server is not responding and
therefore the website is not available. More importantly, since a web server can host
multiple websites, the term web server is never used to designate a website, as it could
cause great confusion. In our previous example, if we said, "My web server is not
responding", it means that no websites on that web server are available.
Search engine
All web pages available on the web are reachable through a unique address. To access
a page, just type its address in your browser address bar:
Web site
A website is a collection of linked web pages (plus their associated resources) that
share a unique domain name. Each web page of a given website provides explicit links
—most of the time in the form of clickable portion of text—that allow the user to move
from one page of the website to another.
To access a website, type its domain name in your browser address bar, and the
browser will display the website's main web page, or homepage (casually referred as
"the home"):
The ideas of a web page and a website are especially easy to confuse for a website that
contains only one web page. Such a website is sometimes called a single-page website.
Web server
A web server is a computer hosting one or more websites. "Hosting" means that all
the web pages and their supporting files are available on that computer. The web
server will send any web page from the website it is hosting to any user's browser, per
user request.
Don't confuse websites and web servers. For example, if you hear someone say, "My
website is not responding", it actually means that the web server is not responding and
therefore the website is not available. More importantly, since a web server can host
multiple websites, the term web server is never used to designate a website, as it could
cause great confusion. In our previous example, if we said, "My web server is not
responding", it means that no websites on that web server are available.
Search engine
Search engines are a common source of confusion on the web. A search engine is a
special kind of website that helps users find web pages from other websites.
There are plenty out there: Google, Bing, Yandex, DuckDuckGo, and many more. Some
are generic, some are specialized about certain topics. Use whichever you prefer.
Many beginners on the web confuse search engines and browsers.
Let's make it clear: A browser is a piece of software that retrieves and displays web
pages; a search engine is a website that helps people find web pages from other
websites. The confusion arises because, the first time someone launches a browser, the
browser displays a search engine's homepage. This makes sense, because, obviously,
the first thing you want to do with a browser is to find a web page to display. Don't
confuse the infrastructure (e.g., the browser) with the service (e.g., the search engine).
The distinction will help you quite a bit, but even some professionals speak loosely, so
don't feel anxious about it.
Here is an instance of Firefox showing a Google search box as its default startup page:
are a common source of confusion on the web. A search engine is a special kind of
website that helps users find web pages from other websites.