Git Product home page Git Product logo

webdev-workshop's Introduction

Renzil's Web Development Workshop

This repository contains source code for a web development workshop where we learn Git, HTML, CSS and Javascript while building a Hollywood-themed quiz game like this.

Before you begin, please sign up for a GitHub account and then fork this repository into your GitHub account by clicking the Fork button in GitHub (usually on the top right).

This web development workshop is broken down into 4 parts for Git, HTML, CSS and JavaScript. Each part of the workshop has a separate branch with some code and instructions in the README. You need to switch to the appropriate branch in GitHub and your code editor, and then follow the instructions in the README of that branch.

At any point of time if you want to return back to this document, switch to the "main" branch.

Below you will find an overview of the different parts of the workshop along with some useful resources at the end. You can start from the beginning of the workshop by switching to the branch workshop/part0-git and following the instructions in the README.

Part 0 - Git

Learn the basics of Git and GitHub in this part. We will also setup a code editor and learn how to make some changes to our source code. Switch to the branch workshop/part0-git and follow the instructions in the README.

Part 1 - HTML

Learn the basics of HTML in this part. This is where you need to start once you have Gitpod setup. Switch to the branch workshop/part1-html and follow the instructions in the README.

Part 2 - CSS

Learn the basics of adding CSS styles to your HTML document in this part. Switch to the branch workshop/part2-css and follow the instructions in the README.

Part 3 - Javascript

In this part, we will learn how to think about our game logic and implement it using JavaScript code. Switch to the branch workshop/part3-javascript and follow the instructions in the README.

Completed project

The completed project is available under the branch workshop/completed.

Make sure you replace the TENOR_API_KEY in js/game.js with your own free API key from Tenor otherwise the gif images won't update.

Build & Test

To preview the web site in a browser using Gitpod, you need to run the following command in the Gitpod terminal,

npx browser-sync -w

Then click on Remote Explorer button, and click on the globe icon for port 3000 to open the website preview in a new browser window.

Commit & Push code

Here is a video on how to commit and push your changes:

Deployment

There are many easy ways to deploy a simple static website like this that doesn't require you to host your own server. The easiest would be to use GitHub Pages.

To enable GitHub pages deployments for this repository,

  • Click on the Settings button for this repository
  • Click on the Pages tab on the left
  • Select the branch you want to deploy and click Save
  • Check the 'Enforce HTTPS' checkbox to prevent browsers from showing a security warning while visiting your site

My favourite resources

Google Search for most questions which have already been answered. Prefer results from Stackoverflow.

MDN Docs for HTML, CSS & JS reference.

JS Fiddle to quickly play around with HTML, CSS & JS.

Google Fonts for fonts hosted on CDN.

Remixicon for icons hosted on CDN.

Pixabay for free photos, music & sound effects.

Unsplash, Pexels for free stock photos.

Namecheap to buy domains.

Flexbox Froggy to learn CSS flex in a fun way.

Stackoverflow to ask new questions.

webdev-workshop's People

Contributors

renzil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.