Code Monkey home page Code Monkey logo

Hi šŸ‘‹, I'm Kevin Bell

I'm a student!

  • šŸ¤ Iā€™m looking to collaborate on almost anything open-source.
  • šŸ”Ø Iā€™m currently working on my Computer Science degree.

šŸ› ļø My favorite tools

šŸ‘Øā€šŸ’» Programming and markup languages

C++ CSS HTML Java JavaScript Scratch SQL

šŸ§° Frameworks and libraries

GitHub Actions JUnit TensorFlow Wordpress

šŸ—„ļø Databases and cloud hosting

GitHub Pages MySQL

šŸ’» Software and tools

Android Brave Discord Git GitHub Desktop Google Sheets Stack Overflow Visual Studio Code

I love free/libre open-source software! Most JavaScript running on most websites (including GitHub.com) is NOT open-source software.

Kevin Bell's Projects

textreplacement icon textreplacement

Text Replacement using replaceAll and replaceFirst methods. From Shakespeare, Macbeth, Act V, scene 1

thecouponcode icon thecouponcode

Story Your online store likes to give out coupons for special occasions. Some customers try to cheat the system by entering invalid codes or using expired coupons. Task Your mission: Write a function called checkCoupon which verifies that a coupon code is valid and not expired. A coupon is no more valid on the day AFTER the expiration date. All dates will be passed as strings in this format: "MONTH DATE, YEAR". Examples: checkCoupon("123", "123", "July 9, 2015", "July 9, 2015") === true checkCoupon("123", "123", "July 9, 2015", "July 2, 2015") === false

theshellgame icon theshellgame

"The Shell Game" involves cups upturned on a playing surface, with a ball placed underneath one of them. The index of the cups are swapped around multiple times. After that the players will try to find which cup contains the ball. Your task is as follows. Given the cup that the ball starts under, and list of swaps, return the location of the ball at the end. Cups are given like array/list indices. For example, given the starting position 0 and the swaps [(0, 1), (1, 2), (1, 0)]: The first swap moves the ball from 0 to 1 The second swap moves the ball from 1 to 2 The final swap doesn't affect the position of the ball. So swaps = [[0,1], [1,2], [1, 0]] find_the_ball(0, swaps) == 2 There aren't necessarily only three cups in this game, but there will be at least two. You can assume all swaps are valid, and involve two distinct indices.

tm-dashboard icon tm-dashboard

Dashboard for Trackmania displaying a bunch of vehicle information on screen.

tm-trainer icon tm-trainer

Trackmania Nations, United and Trackmania 2 Hack

tmtracknn icon tmtracknn

Building TrackMania tracks with neural networks.

to-square-root-or-not-to-square-root- icon to-square-root-or-not-to-square-root-

To square(root) or not to square(root). java. kata. code wars. solution. 8 kyu. Write a method, that will get an integer array as parameter and will process every number from this array. Return a new array with processing every number of the input-array like this: If the number has an integer square root, take this, otherwise square the number. example [4,3,9,7,2,1] becomes [2,9,3,49,4,1] The input array will always contain only positive numbers, and will never be empty or null.

training-js-1-create-your-first-js-function-and-print-hello-world- icon training-js-1-create-your-first-js-function-and-print-hello-world-

In JavaScript, your code is running in a function, let us step by step complete your first JS function. Look at this example: --------keyword "function" | ----your function name | | ---if needed, some arguments will appear in brackets | | | function myfunc(){ ---------your function code will starting with "{" //you should type your code here }----------------------------ending with "}" If we want to print some to the screen, maybe we can use Document.write() in the web, or use alert() pop your message, but Codewars did not support these methods, we should use console.log() in your function. see this example: function printWordToScreen(){ var somewords="This is an example." console.log(somewords) } If we run this function, This is an example. will be seen on the screen. As you see, console.log() is an useful method help your work, you will become more and more like it. Task Please refer to two example above and write your first JS function. mission 1: use keyword function to define your function, function name should be helloWorld(don't forget the () and {}) mission 2: use keyword var (or let or const) to define a variable str, value of str should be a string: "Hello World!"(don't forget the =). mission 3: type the console.log() in the next line(don't forget to put the str in the brackets). When you have finished the work, click "Run Tests" to see if your code is working properly. In the end, click "Submit" to submit your code pass this kata.

training-js-10-loop-statement---for icon training-js-10-loop-statement---for

Training JS #10: loop statement --for. function pickIt(arr){ var odd=[], even=[]; for (let i = 0; i < arr.length; i++) { if (arr[i] % 2 === 0) { even.push(arr[i]) } else { odd.push(arr[i]) } } return [odd,even]; }

training-js-2-basic-data-types--number icon training-js-2-basic-data-types--number

In javascript, Number is one of basic data types. It can be positive: 1,2,3, negative:-1,-100 , integer:123,456, decimal:3.1415926,-8.88 etc.. Numbers can use operators such as + - * / % Task I've written five function equal1,equal2,equal3,equal4,equal5, defines six global variables v1 v2 v3 v4 v5 v6, every function has two local variables a,b, please set the appropriate value for the two variables(select from v1--v6), making these function return value equal to 100. the function equal1 is completed, please refer to this example to complete the following functions.

training-js-23-methods-of-arrayobject---push-pop-shift-and-unshift- icon training-js-23-methods-of-arrayobject---push-pop-shift-and-unshift-

Training JS #23: methods of arrayObject---push(), pop(), shift() and unshift(). From this Kata, I will do some changes: to reduce the description of the text (to provide a reference link). Because I am not good at writing these words of description. Examples and essential points will be retained. At this lesson, we will learn some methods about add/remove array elements.

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.