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

CSS How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Math

There is not possible way to use the computer keyboard that I. While in a code there is not possible way to compute math. Why or if possible how. I don't have a mac either

3 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Cheri,

Just type your math equation into Google and it will display the answer.
Also check your programs in your PC, I'm sure there is a calculator in there.

Hope this helps.

I you want to do simple calculations in your CSS you can use the calc() function. Like so:

.div {
    width: 90%; //fallback for unsupported calc()
    width: calc(100% - 80px);

Check out the documentation at https://developer.mozilla.org/en-US/docs/Web/CSS/calc

I hope this work my 17 year old son who codes and designs front to back and also security claims there is no way to