JavaScript Strings: Properties and Methods

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Declare and use a string variable in JavaScript.

Write code using JavaScript string properties.

Write code using JavaScript string methods.

Clock1 hour and 25 minutes
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this beginning-level course you will learn and practice new string-handling skills using Notepad++ to write JavaScript code and the Chrome browser to view your results. Since text data is commonly used as a “string” in JavaScript, the ability to use and manipulate strings is a key component in JavaScript programming. You will learn some of the properties and methods that make string handling easier. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • String properties
  • String methods
  • Notepad++
  • javascript syntax
  • Format Strings

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Write JavaScript code to declare a variable with a string data type, and then assign a value to that variable.

  2. Practice formatting strings with additional spacing and using the plus sign as a concatenation symbol.

  3. Code the JavaScript statement to determine how many characters are in a string of data using the .length property.

  4. Use the .toUpperCase() method to convert a string to upper case characters.

  5. Use the concat() and trim() methods to concatenate two strings together or eliminate part of a string.

  6. Write the JavaScript code to extract a small string of characters from a larger string using the slice() method.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.