Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Basics (Retired) Making Decisions with Conditional Statements Boolean Values

Sufiyaan Haroon
seal-mask
.a{fill-rule:evenodd;}techdegree
Sufiyaan Haroon
Full Stack JavaScript Techdegree Student 9,558 Points

What seriously happened???

Nothing changed after doing the Boolean Values. I mean it didn't say true or false. There was no effect to web page. So what is suppose to happen whit the "Boolean Values"

2 Answers

Hello Sufiyaan,

It was meant to illustrate how to use boolean values to achieve a different result. In the video previous to this one Dave used an if statement to compare two different integer values in the conditional statement. In this video Dave decided to use boolean logic instead and show that you can achieve the same thing with boolean values. This video was not really intended to show how to manipulate the web page, rather, it was simply meant to teach you the basics of using boolean logic. If you are still confused I will keep trying to assist you.

Justin Radcliffe
Justin Radcliffe
18,987 Points

Hi Sufiyaan,

When asking a question like that here (or anywhere!) it really helps to give some context. Provide us with the code you currently have so we can get a better idea of how to help you.