Hi there! 👋 Let's learn how to use Felix, your new coding friend! It's super easy and fun!
-
Starting the IDE
- The Felix IDE window will pop up
- This is where you'll write your code!
-
Writing Your Code
- The big white box in the middle is where you type your code
- The black box at the bottom shows what your program does when it runs
-
Saving Your Work
- Click "File" at the top
- Choose "Save" or "Save As" to keep your work safe
- Give your file a name ending with
.fx
(likemygame.fx
)
-
Running Your Program
- Click "Run" at the top
- Choose "Run Program"
- Watch what happens in the black box below!
Try typing this in the white box:
print "Hello! I'm coding!"
Run it and see what happens!
Variables are like boxes where you can store things:
age = 10
name = "Felix"
print age # Shows what's in the age box
print name # Shows what's in the name box
You can do math just like a calculator:
x = 5
y = 3
print x + y # Adds: 5 + 3 = 8
print x - y # Subtracts: 5 - 3 = 2
print x * y # Multiplies: 5 * 3 = 15
print x / y # Divides: 5 ÷ 3
Tell your program to make decisions:
age = 10
if age > 8
print "You're a big kid!"
else
print "You're still little!"
Want to count numbers? Use a while loop:
count = 1
while count < 5
print count # Prints: 1, 2, 3, 4
count = count + 1
name = "Felix"
print "******************"
print "* Hi, " + name + "! *"
print "* You're awesome! *"
print "******************"
secret = 7
guess = 5
if guess < secret
print "Too low!"
if guess > secret
print "Too high!"
if guess = secret
print "You got it!"
- Save your work often!
- If something doesn't work, check your spelling
- Have fun experimenting with different numbers and words
- If you get stuck, try running your program to see what's happening
Now you're ready to start coding! Remember, the best way to learn is to try things out and have fun! 🎨
Happy Coding! 🚀