Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


LoginGet Started

Register to 4Geeks

โ† Back to Exercises

Practice Javascript Functions Tutorial

Start using and practicing javascript functions, learn about arrows, anonymus functions, closures, callbacks and more!

Work on real-life coding environments with LearnPack.

Get instant help with our AI mentor: Rigobot.

No installation, you go directly to programming

Difficulty

  • easy

Average duration

5 hrs

Difficulty

  • easy

Average duration

5 hrs

Sign up and get access to interactive tutorial

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

5 hrs

Difficulty

  • easy

Average duration

5 hrs

Difficulty

  • easy

Average duration

5 hrs

Difficulty

  • easy

Average duration

5 hrs

Learn the basics about functions in JavaScript:

  1. Basic theory about functions in JavaScript.
  2. Learn the syntax on how to create functions.
  3. How to call functions.
  4. What are function parameters and the return statement.
  5. How to create traditional, arrow and anonymous functions.
  6. Use functions in different scenarios, like for replacing vowels in a string.

These exercises are intended to be built by collaboration, we need you! If you find any bugs or misspells please contribute and report them.

How are the exercises organized?

Each exercise is a small React application containing the following files:

  1. app.js: represents the entry file for the exercise.
  2. README.md: contains exercise instructions.
  3. test.js: you don't have to open this file, it contains the testing script for the exercise.

Note: The exercises have automatic grading, but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated.

Contributors

Thanks goes to these wonderful people (emoji key):

  1. Alejandro Sanchez (alesanchezr), contribution: (coder) ๐Ÿ’ป (idea) ๐Ÿค”, (build-tests) โš ๏ธ , (pull-request-review) ๐Ÿ‘€ (build-tutorial) โœ… (documentation) ๐Ÿ“–

  2. Paolo (plucodev), contribution: (bug reports) ๐Ÿ›, contribution: (coder), (translation) ๐ŸŒŽ

  3. Marco Gรณmez (marcogonzalo), contribution: (bug reports) :๐Ÿ›, (translation) ๐ŸŒŽ

This project follows the all-contributors specification. Contributions of any kind are welcome!

This and many other exercises are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sรกnchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.

Sign up and get access to interactive tutorial

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

5 hrs

Difficulty

  • easy

Average duration

5 hrs