# Comparisons with the Logical Or Operator with only one if

**URL:** <https://forum.freecodecamp.org/t/comparisons-with-the-logical-or-operator-with-only-one-if/457349>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [April 24, 2021, 10:53am UTC](https://forum.freecodecamp.org/t/comparisons-with-the-logical-or-operator-with-only-one-if/457349 "2021-04-24T10:53:25Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [April 26, 2021, 6:45am UTC](https://forum.freecodecamp.org/t/comparisons-with-the-logical-or-operator-with-only-one-if/457349/16 "2021-04-26T06:45:30Z")

</div>

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

* * *

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

_[View the full topic](https://forum.freecodecamp.org/t/comparisons-with-the-logical-or-operator-with-only-one-if/457349)._
