Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Code Syntax Correction | TypeScript Fundamentals
Introduction to TypeScript

bookChallenge: Code Syntax Correction

This code contains some syntax errors. Your task is to identify the error locations and comment them out to make the code run successfully.

12345
let one : number = 5; let two : string = one ** 4; let result = two - one; console.log('code has been executed succesfully') console.log(`the result is ${result}`)
copy

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 7

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 2.94

bookChallenge: Code Syntax Correction

Swipe to show menu

This code contains some syntax errors. Your task is to identify the error locations and comment them out to make the code run successfully.

12345
let one : number = 5; let two : string = one ** 4; let result = two - one; console.log('code has been executed succesfully') console.log(`the result is ${result}`)
copy

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 7
some-alt