Workshops logo-header logo-newsletter

Test code highlighter

Varias programming languages

<dialog id="modal-345">
    <div id="close-345" style="float: right;cursor:pointer; font-size:25px;">&#10799;</div>
    <div id="freelearnbox">
      <a href="https://staging-pazacademy-pazch.kinsta.cloud/free-learn" style="outline: none;">
         <p class="freelearnbox-title">LEARN WITH OUR PAZ FREE-LE@RN MAILS!</p>
         <img src="https://pazacademy.ch/wp-content/uploads/2022/10/PAZ-NEWSLETTER_B.gif" alt="logo-newsletter" style="height:10em">
         <div style="font-size:24px" class="freelearnbox-title"> FREE LE@RN </div>
      </a>
      <br>
    </div>
</dialog>

        

CSS BLOCK

	#modal-345 a {
		text-decoration: none;
        color: #fcf;
        border: 0;
	}
            
	#modal-345 a:hover {
		text-decoration: underline;
	}
            
	#freelearnbox {
		text-align: center;
	}

Python

# You can edit this code and run it right here in the browser!
# First we'll import some turtles and shapes: 
from turtle import *
from shapes import *

# Create a turtle named Tommy:
tommy = Turtle()
tommy.shape("turtle")
tommy.speed(7)

# Draw three circles:
draw_circle(tommy, "green", 50, 25, 0)
draw_circle(tommy, "blue", 50, 0, 0)
draw_circle(tommy, "yellow", 50, -25, 0)

# Write a little message:
tommy.penup()
tommy.goto(0,-50)
tommy.color("black")
tommy.write("Teach With Code!", None, "center", "16pt bold")
tommy.goto(0,-80)

# Try changing draw_circle to draw_square, draw_triangle, or draw_star

 

By continuing to use the website, you agree to the use of cookies. more information
Durch die weitere Nutzung der Website stimmen Sie der Verwendung von Cookies zu. Mehr Informationen

© 2024 PAZ Academy.