• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    HTML
  • Created almost 4 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HTML, CSS & JavaScript Recap

Unit 01: Introduction to Web Development, HTML, CSS, and Git

Overview

Congratulations! This is the first step in your journey towards a career in full-stack web development. There are many paths that you can take in this field and this unit is the foundation for all of them. Every full-stack web developer must master HTML and CSS, as well as learn how to program browsers, servers, and databases.

You have several choices for the programming language that you use for building and deploying full-stack web applications, including JavaScript, PHP, and Python. This course focuses on JavaScript. We’ll use it to program both the browser (aka the client) and the server.

Regardless of the programming language you use, two tools that every developer uses on a daily basis are the command line and version control. The command line allows developers to quickly and efficiently interface with their operating system and software. To begin, we'll use the command line to navigate the file tree and create directories and files. Later, we'll use it to install software dependencies and run servers, among other tasks. Version control is an approach to managing changes in files without the need to make multiple copies of those files. We'll learn Git, which is the most popular version control system. Git integrates with GitHub.com, a site for developers to host and share their code. We will deploy our first website using GitHub Pages.

The first, and perhaps most important, file we'll create is index.html, which is the default entry point for any web application. All of our subsequent work will build on this initial starting point. The file suffix .html refers to HTML, or Hypertext Markup Language. HTML allows us to format webpages and text in a similar way to how a word processor formats documents and the text inside them. However, the biggest difference between HTML and a word processor is the ability to link between any document that's on the web, anywhere in the world. This is the "hypertext" in HTML.

Though HTML is enough to create a simple website, it falls a bit short in the design department. So we'll add color, fonts, and element positioning by adding CSS (Cascading Style Sheets) to our HTML files to make them visually dynamic. In the next unit, we'll learn CSS frameworks that can expedite our development process.

Subsequent units will build on this foundation of HTML, CSS, and version control as we add JavaScript, servers, and databases to our stack to build interactive web applications.

Key Topics

The following topics will be covered in this unit:

  • Command-line basics

    • Navigating the file tree
    • Creating, copying, and removing files and directories
  • HTML

    • Semantic elements, tags
    • Attributes
    • Best practices: indentation, file naming conventions and directory structure
  • CSS

    • Order of importance
    • Class vs. id
    • Selectors
    • Typography
    • Box model
    • Display
    • Positioning and floats
    • Color: hexadecimal, rgb and named
    • Flexbox
    • Grid
  • Git & Git workflow

    • git clone
    • git add
    • git commit
    • git branch
    • git push
    • git pull
  • GitHub

    • Create a repository
    • Deploy to personal pages

Comprehension Check

You will be employer-ready if you can answer the following questions:

  1. What does it mean to be a full-stack web developer?
  2. What is the relationship between HTML and CSS?
  3. What is Git workflow?

Learning Objectives

You will be employer-competitive if you are able to:

  • Build and style static webpages with semantic HTML and CSS
  • Implement best practices and standards when structuring HTML files using nested elements, indentation, comments, and line breaks
  • Implement CSS styling via class, id and element selectors using external stylesheets, inline styles and embedded style tags
  • Explain the "cascading" in Cascading Style Sheets and implement the box model for HTML elements
  • Explain the value of version control and use Git workflow to initialize projects, track changes, and host via remote server
  • Perform common commands via the command line to interface with the operating system, such as navigating the file tree and creating and deleting files and directories
  • Execute live deployment using GitHub Pages

Homework: Code Refactor

Take the provided codebase and refactor it to make it accessible. Don't forget the cardinal rule when working with someone elses code: "Always leave the code you are editing a little cleaner than you found it"

Helpful Links


© 2019 Trilogy Education Services, a 2U, Inc. brand. All Rights Reserved.

More Repositories

1

Python-project-Scripts

This repositories contains a list of python scripts projects from beginner level advancing slowly. More code snippets to be added soon. feel free to clone this repo
Jupyter Notebook
1,083
star
2

Awesome-Open-Source-Programs

A curated list of awesome open source programs across various categories, including education and training, community building, funding and support, research and development, advocacy and outreach, and industry and business.
62
star
3

ToDo-list-App

A Todo list App made in Python and the Django framework. It is able to add, delete and update events.
32
star
4

PersonalPortifolio

A personal portfolio project made with Html, CSS & JavaScript
HTML
25
star
5

VirtualAssistant

This as a Smart Virtual assistant designed to help with doing simple desktop chores and also some online duties.
Python
20
star
6

Coding-Resources-Handbook

Below is a collection of the coding resources for programming, web development, and more. It includes free books and others guides freely available on the internet.
14
star
7

Django-Ecom-Website

A Django E-Commerce Website made by Python and the Django framework
Python
7
star
8

alx-low_level_programming

C
6
star
9

larymak

4
star
10

Testimonial-slider

Testimonial - Slider
CSS
3
star
11

Python-Scripts

Python
3
star
12

Django-Docker-Template

Python
2
star
13

WhatsappAutomation-and-Spam-Bot

This is a code automating WhatsApp and also how to create a spam bot
1
star
14

WebScraping-Local-Website

Python
1
star
15

GitIntro

A basic Introduction to git and GitHub
1
star
16

alx-system_engineering-devops

Shell
1
star