🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • matthew kvamme
    matthew kvamme
    301 Points

    im not getting question 2 not right

    Posted April 23, 2020 5:27pm by matthew kvamme
    matthew kvamme
    301 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Bryce Currie
    Bryce Currie
    47 Points

    help please

    Posted March 29, 2020 9:53pm by Bryce Currie
    Bryce Currie
    47 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • kiarash ghahremanitabrizi
    kiarash ghahremanitabrizi
    1,262 Points

    How do I do this

    Posted March 25, 2020 12:47am by kiarash ghahremanitabrizi
    kiarash ghahremanitabrizi
    1,262 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Yathir international
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Yathir international
    iOS Development with Swift Techdegree Student 291 Points

    workspace is not working

    Posted March 8, 2019 9:02pm by Yathir international
    .a{fill-rule:evenodd;}techdegree
    Yathir international
    iOS Development with Swift Techdegree Student 291 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • frensky chery
    PLUS
    frensky chery
    Courses Plus Student 138 Points

    m confused

    Posted November 23, 2018 4:45am by frensky chery
    frensky chery
    Courses Plus Student 138 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Denonte McKinney
    Denonte McKinney
    315 Points

    Mixed Types - Q2

    Posted December 1, 2017 4:32pm by Denonte McKinney
    Denonte McKinney
    315 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Luke Dodge
    Luke Dodge
    109 Points

    how do i make a boolean value of false?

    Posted November 20, 2017 4:33am by Luke Dodge
    Luke Dodge
    109 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Nelson Lecuane
    Nelson Lecuane
    228 Points

    Hello friends, I think I got this right, still, I got an error

    Posted November 15, 2017 3:40am by Nelson Lecuane
    Nelson Lecuane
    228 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • amber razzouk
    amber razzouk
    1,391 Points

    How do you assign a Boolean value of false for swift

    Posted October 19, 2017 10:10pm by amber razzouk
    amber razzouk
    1,391 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Vinod Nambiar
    PLUS
    Vinod Nambiar
    Courses Plus Student 14,958 Points

    Finally, we need to indicate whether the book is available in our store. Declare a variable named isAvailable and assign

    Posted September 18, 2017 5:38am by Vinod Nambiar
    Vinod Nambiar
    Courses Plus Student 14,958 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • gary chang
    gary chang
    98 Points

    the number question isn't it ?

    Posted August 21, 2017 5:30pm by gary chang
    gary chang
    98 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    3 Answers

  • Olivia Chu
    Olivia Chu
    301 Points

    In this task, declare a variable named rating and assign the value 7.5 my ans: var rating = 7.5

    Posted August 14, 2017 7:14am by Olivia Chu
    Olivia Chu
    301 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Nigel Matheson
    PLUS
    Nigel Matheson
    Courses Plus Student 1,166 Points

    This is still not quite right and I don't know why?

    Posted July 11, 2017 3:01am by Nigel Matheson
    Nigel Matheson
    Courses Plus Student 1,166 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    3 Answers

  • qifeng sun
    qifeng sun
    6,274 Points

    not sure how to get this question down

    Posted May 18, 2017 5:55pm by qifeng sun
    qifeng sun
    6,274 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Paul Mougeot
    Paul Mougeot
    184 Points

    assigning a Boolean value to the variable

    Posted April 26, 2017 7:50am by Paul Mougeot
    Paul Mougeot
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Paul Mougeot
    Paul Mougeot
    184 Points

    assigning a Boolean value to the variable

    Posted April 26, 2017 7:44am by Paul Mougeot
    Paul Mougeot
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • walter fernandez
    walter fernandez
    4,992 Points

    Let's assume we're writing some code to maintain a bookstore and we would like to store some information about a book

    Posted April 25, 2017 2:52am by walter fernandez
    walter fernandez
    4,992 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Let's assume we're writing some code to maintain a bookstore and we would like to store some information about a book in

    Posted March 20, 2017 7:25pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Keifer Dalton
    Keifer Dalton
    3,488 Points

    Boolean Not Registering. Probably a bug.

    Posted March 19, 2017 9:57pm by Keifer Dalton
    Keifer Dalton
    3,488 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Noah Muhammad
    PLUS
    Noah Muhammad
    Courses Plus Student 641 Points

    bool

    Posted March 7, 2017 9:00pm by Noah Muhammad
    Noah Muhammad
    Courses Plus Student 641 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Michael Sarpong
    Michael Sarpong
    478 Points

    Declare a variable : let title = "A dance with dragons" var rating = "7.5" still getting error on coder

    Posted March 2, 2017 1:01pm by Michael Sarpong
    Michael Sarpong
    478 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Or Alkalay
    PLUS
    Or Alkalay
    Courses Plus Student 253 Points

    What is the solution? Can't pass this easy task..

    Posted February 13, 2017 10:28am by Or Alkalay
    Or Alkalay
    Courses Plus Student 253 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Drew Scolaro
    PLUS
    Drew Scolaro
    Courses Plus Student 855 Points

    i dont know how to do this problem

    Posted January 21, 2017 5:20pm by Drew Scolaro
    Drew Scolaro
    Courses Plus Student 855 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Stephen Simkin
    Stephen Simkin
    184 Points

    Good Morning, I can't get the code challenges to take my code. I keep getting the Bummer! notice. works in Xcode

    Posted January 4, 2017 2:58pm by Stephen Simkin
    Stephen Simkin
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.