{"id":85427,"date":"2023-11-14T10:44:15","date_gmt":"2023-11-14T10:44:15","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=85427"},"modified":"2023-11-14T10:44:16","modified_gmt":"2023-11-14T10:44:16","slug":"html-code-editor","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/html-code-editor\/","title":{"rendered":"Code Editor update: Support for HTML and mobile devices\u00a0"},"content":{"rendered":"\n

Earlier this year, we launched our Code Editor<\/a>, a free online tool to help make learning text-based programming simple and accessible for kids age 9 and up. We focus on supporting the needs of young people who are learning programming at school, in Code Clubs and CoderDojos, and at home.<\/p>\n\n\n

\n
\"A<\/figure>\n<\/div>\n\n\n

Today, we have two exciting updates to share: support for web page projects with HTML\/CSS, and an improved mobile and tablet experience.<\/p>\n\n\n\n

What’s the Code Editor?<\/h2>\n\n\n\n

Learners can use the Code Editor to write and run code in a web browser without installing any additional software. The Editor is currently available as a beta version<\/a>, and we\u2019ve already received really positive comments: <\/p>\n\n\n\n

\n

\u201cThe Editor looks really nice! I have tried the Python part, and it is intuitive and concise. My little program worked no problem, and I am sure the Editor will be easy, intuitive, and quick to learn for the young [learners].\u201d<\/p>\n \u2014 Volunteer in the CoderDojo community<\/cite><\/blockquote>\n\n\n\n

Introducing HTML and CCS in the Code Editor <\/h2>\n\n\n\n

The Code Editor now supports the HTML and CSS web development languages, giving young people the ability to create and preview their own websites directly in the Editor interface. Learners can have their code and the preview panel side by side, and they can also preview their websites in a separate, larger tab.<\/p>\n\n\n

\n
\"A<\/figure>\n<\/div>\n\n\n

We have embedded the Editor in our ‘Introduction to web<\/a>‘ path on the Projects site. The path contains six HTML and CSS projects for beginners<\/a> and helps them create fun websites like the ones shown here.<\/p>\n\n\n\n

\n
Try the Code Editor in the web path<\/a><\/div>\n<\/div>\n\n\n\n

We want the Code Editor to be safe, age-appropriate, and suitable for use in classrooms or coding clubs. With this in mind, we have excluded certain functions, like being able to add links to external websites in the code. Rather than enabling image uploads, we provide a library of images when projects in our free learning paths contain images, in order to support multimedia projects safely.<\/p>\n\n\n

\n
\"A<\/figure>\n<\/div>\n\n\n

Whether users are coding in Python or HTML\/CSS, the Editor offers accessibility options so you can easily switch settings between light and dark mode, and between small, medium, and large text size. The text size feature is useful for people with visual impairments, as well as for educators who want to demonstrate something to a group of learners.<\/p>\n\n\n\n

Improved experience for mobile and tablet devices<\/h2>\n\n\n\n

Our Code Editor now offers a new and improved experience for users of mobile and tablet devices. This improves access for learners in classrooms where tablets are used, and in low- and middle-income countries, where mobile phones are commonly used<\/a> for digital learning.<\/p>\n\n\n

\n
\"A<\/figure>\n<\/div>\n\n\n

The Editor now includes: <\/p>\n\n\n\n