Skip to content
View CodaBae's full-sized avatar
:octocat:
JavaScript Developer.
:octocat:
JavaScript Developer.

Block or report CodaBae

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Algorithms Algorithms Public

    All the Algorithms i will be doing for the 100 Days of Code

    JavaScript 1

  2. 100 Days of Code => Day 11 (vowels) 100 Days of Code => Day 11 (vowels)
    1
    //solution 1...i like this but?
    2
    function vowels(str) {
    3
    let count = 0
    4
    let checker = ['a', 'e','i','o','u']
    5
    for (let key of str.toLowerCase()){
  3. 100 Days of Code => Day 6 (“chunk”) 100 Days of Code => Day 6 (“chunk”)
    1
    //solution 1
    2
    //i like this one...
    3
    function chunk(array, size) {
    4
        const chunked =[];
    5
    for(let item of array) {
  4. 100 Days of Code => Day 1 (pyramid) 100 Days of Code => Day 1 (pyramid)
    1
    function pyramid(n) {
    2
    	const midpoint = Math.floor((2 * n - 1) / 2);
    3
    	for (let row = 0; row < n; row++) {
    4
    		let level = '';
    5
    		for (let column = 0; column < 2 * n - 1; column++) {
  5. 100 Days of Code => Day 4 (maxChar) 100 Days of Code => Day 4 (maxChar)
    1
    function maxChar(str) {
    2
    	a = {};
    3
    	max = 0;
    4
    	maxChar = '';
    5
      //looping thur str which is a string
  6. 100 Days of Code => Day 12 (matrix) 100 Days of Code => Day 12 (matrix)
    1
    ///take it bit by bit...really 😫
    2
    function matrix(n) {
    3
    	let result = [];
    4
    	for (let i = 0; i < n; i++) {
    5
    		result.push([]);