Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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,988 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,988 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord