# Get started with comment-spam detection

# Get started with comment-spam detection


Learn the fundamentals of making custom text-classification models for your web apps using TensorFlow.js.  


Go back

## Introduction to TensorFlow.js and Machine Learning

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Video

Learn the basics of natural-language processing, how TensorFlow.js fits into the picture, and why you might want to consider using ML in JavaScript.

## Applications of ML: Comment spam detection

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Video

Learn how you can use pre-made ML models in JS to bring natural language processing abilities to your web apps, and why the size of the ML model you choose matters when designing for mobile apps.

## Build a comment-spam detection system using TensorFlow.js

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Codelab

Learn how to create a website that can classify spam comments entirely in the web browser using a TensorFlow.js pretrained ML model to filter comment spam on the client side before it even reaches the server.

[Take codelab](https://developers.google.com/codelabs/tensorflowjs-comment-spam-detection)

## Get started with comment spam detection

Pass the quiz to earn a badge.
[Take the quiz](https://developers.google.com/learn/pathways/quizzes/get-started-text-classification-for-web/get-started-text-classification-for-web)