Skip to content

Instantly share code, notes, and snippets.

View belide's full-sized avatar
💭
Always WEB!

belide

💭
Always WEB!
View GitHub Profile
function anagrams(a,b){
var count = 0, isAnagram=false;
var a1 = a.split("").sort();
var b1 = b.split("").sort();
for(var i=0;i<a1.length;i++){
if(a1[i] !== b1[i]){
count++;
}
}
@belide
belide / sample.js
Created September 4, 2017 11:44
JavaScript Test
console.log("hello world!");
@belide
belide / fcc-project-list.md
Created February 15, 2018 06:07 — forked from KaliaHayes/fcc-project-list.md
Free Code Camp Project List

My Free Code Camp Projects

Collection of projects I'm doing while working through the Free Code Camp full stack web developer certifications.

Front End Development Certification

Basic Front End Development Projects

  • Build a Tribute Page | Requirements | Demo | Source Code
  • Build a Personal Portfolio Page | Requirements | Demo | Source Code
@belide
belide / React JS Weather App.markdown
Created February 23, 2018 04:01
React JS Weather App
@belide
belide / q.md
Created June 27, 2018 10:34 — forked from SinisterMinister/q.md
JS Interview questions

Javascript Interview Questions

General interview questions for a front-end JS developer.

Questions

  • What is the spec Javascript implements and what versions of it are you most current with?

  • Does JavaScript support the use of classes?

@belide
belide / string-utils.js
Created July 11, 2018 04:28 — forked from jonlabelle/string-utils.js
Useful collection of JavaScript string utilities.
// String utils
//
// resources:
// -- mout, https://github.com/mout/mout/tree/master/src/string
/**
* "Safer" String.toLowerCase()
*/
function lowerCase(str){
return str.toLowerCase();
@belide
belide / PigLatin.js
Created July 11, 2018 04:33 — forked from noshaf/PigLatin.js
Pig Latin Javascript
var translate = function(word) {
var array = word.split('');
var vowels = ['a','e','i','o','u'];
var newWord = '';
for(var i = 0; i < vowels.length-1; i++) {
for(var y = 0; y < word.length-1; y++) {
if(word[y] === vowels[i]) {
for(var x = y; x < word.length; x++){
newWord = newWord + word[x];
}
@belide
belide / webdev_online_resources.md
Created July 21, 2018 14:18 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@belide
belide / 01.ts
Created July 22, 2018 14:43 — forked from jhades/01.ts
ng-template, ng-container and ngTemplateOutlet examples
@Component({
selector: 'app-root',
template: `
<ng-template>
<button class="tab-button"
(click)="login()">{{loginText}}</button>
<button class="tab-button"
(click)="signUp()">{{signUpText}}</button>
</ng-template>