An open API service indexing awesome lists of open source software.

https://github.com/0necontroller/learn-html-css-js

This repo contains materials for our community's web-track. We set-up a project based learning system which has proven highly effective.
https://github.com/0necontroller/learn-html-css-js

community-driven html-css-javascript learning-by-doing web

Last synced: about 14 hours ago
JSON representation

This repo contains materials for our community's web-track. We set-up a project based learning system which has proven highly effective.

Awesome Lists containing this project

README

          

# This repo contains source code for our local communitiy's Web-track
## Meet-Up 1 Nav-Bar
**Friday Feb 3rd 2023** \
During this session we introduced some basic HTML and CSS concepts to out newer members.
We built a simple **nav-bar** as a of demonstrating the basic use of HTML and CSS.


### The source code is [here](./1_NavBar/)
![NavBar](1_NavBar/images/navbar.png)

## Meet-Up 2 Cards
**Tuesday Feb 8rd 2023** \
During this session we were able to make cards to futher cement the concepts of flexbox.\
We also made the cards responsive using some media queries.

### The source code is [here](./2_modal_cards/)
![NavBar](2_modal_cards/images/cards.png)


## Meet-UP 3 Intro to JavaScript
**Friday Feb 10th 2023**\
During this session we introduced the basics of JavaScript. Some base concepts were\
covered. Some concepts covered include;
* Naming convension i.e camelCase
* Variables declaration using diffrent key words.
```js
// Varibles
var myName = 'John';
let location = 'Nairobi';
const career = 'Web development';
```
* Functions
```js
function sayHello() {
console.log('Hello world!!!');
}

sayHello(); // Hello world!!!

// ES6 Arrow functions
const sayHi = () => {
console.log('Hi World!!!');
};

sayHi(); // Hi World!!!
```

* Conditional statements
```js
// If statement
if (1 < 2) {
console.log('Less than two!!');
}

// if else statement
if (6 > 2) {
console.log('Greater than two!!!');
} else {
console.log('Less than two!!!');
}

// else if statements
if (4 > 9) {
console.log('less than nine');
} else if (4 < 9) {
console.log('Less than nine');
} else {
console.log('Does not meet the condition');
}
```

* Looooops
```js
// for loop
for (let i = 0; i < 10; i++) {
console.log(i);
}

// While loop
let j = 1;
while (j < 10) {
console.log(j);
j++;
}
```

We wrapped the day up by creating a function to find the sum of\
all even numbers between 1 and 10;

```js
function addEvenNumbersBetween1and10() {
let number = 1;
let sum = 0;

while (number < 11) {
if (number % 2 == 0) {
sum += number;
}
number++;
}
console.log(sum); // 30
}

addEvenNumbersBetween1and10();
```

### The source code is [here](./3_Intro_js/)


## Meet-UP 3 Intro to JavaScript
**Friday Feb 17th 2023**\
During this session we were introduced to the DOM.** Document Object Model**.\
We explored basic **DOM manipulation** and DOM events.

### The source code is [here](./4_DOM/)


## Meet-UP 4 JavaScript
**Friday Feb 17th 2023**\
During this session we had a recap of the what some basic JavaScript concepts.** Document Object Model**.\
We also explored more **DOM manipulation** and DOM events.

### FizzBuzz
We started the recap by making the common fizzBuzz algorithm.

```js
const fizzBuzz = () => {
for (let i = 1; i <= 20; i++) {
if (i % 2 === 0) {
console.log(i, 'Fizz');
} else {
console.log(i, 'Buzz');
}
}
};
fizzBuzz();
```


## Meet-UP 5 JavaScript DOM events
**Friday Feb 17th 2023**\
During this session we had learnt Click events.We created a counter app\
and a number guessing game.

### The source code is [here](./5_DOM_Events/)
![Events](./5_DOM_Events/screenshots/m5.png)


 
 



Our leads


Abel Misiocha GitHub


Cliff Omollo GitHub