# Creating HTML ## How to Create HTML The easiest way to create the interactive HTML for Remote Pro – a survey, a game, a quiz – is to have an AI tool such as **Claude or ChatGPT** build it for you. *No coding knowledge is required.* In the video below, we show you first how to make a simple survey collecting a guests name, and then expand to adding radio buttons, dropdown lists, checkboxes and a recall function. https://www.youtube.com/watch?v=_H5-xqNyXUw --- ### Download the AI Instruction Sheet Download the instructions file below. This tells the AI how to talk to Remote Pro – reading data, saving data, and triggering touchscreen actions such as starting a photo. > **Info** > > [Download the AI Instruction sheet.](https://www.breezesoftware.com/media/downloads/downloads-de29eefcbb.md) --- ### Open Claude or ChatGPT Use whichever AI tool you already have access to. Both Claude and ChatGPT work well for this. --- ### Feed It the Instructions and Your Prompt Attach the [instructions file](https://www.breezesoftware.com/media/downloads/downloads-de29eefcbb.md) to your message, along with one of the following: - Your existing HTML file, if you want changes made to it - A plain-English description of what you want built --- ### Review and Refine Review what the AI builds and ask for changes in plain language, for example "make the buttons bigger" or "add a thank you screen". Keep the conversation going until the result looks right. --- ### Save and Link the File Save the finished HTML file and point your [Web View Panel's](https://www.breezesoftware.com/help/remote-pro/web-panel) URL setting to it. --- ### Example Prompts Describe what you want in plain language and let the AI handle the code. - **Survey with keyboard input:** Build me a survey that collects first and last name, with a full touch screen qwerty keyboard. When the data is collected, display a "Take Photo" button and send the touch screen command "startPhotobooth". - **Simple game:** Make me a simple naughts and crosses game, where you play against the computer. Design it for a large touch screen. If the player wins, send the touch screen command "startphotobooth" to start the countdown. --- ### Tips - Always attach the [instructions file](https://www.breezesoftware.com/media/downloads/downloads-de29eefcbb.md) – it is what teaches the AI how to connect to Remote Pro correctly. - Test the finished page in a regular browser first. Buttons and layout will work fine; Remote Pro specific commands will not do anything until the page is loaded inside the actual panel. - If something does not work as expected once it is in Remote Pro, describe the problem back to the AI and ask it to fix it. --- > **Info** > > The AI-built page will not respond to Remote Pro commands when previewed in a regular browser. This is expected – the connection only exists inside the Web View Panel. ## Video transcript [0:01] Okay, so let's have a look at how to create a simple HTML survey using Claude. You could do this in ChatGPT as well. And then we'll put this into remote pro so you can see how easy it is to make these sorts of things going forward. All right, so I've got a prompt that I've already written. I'm just going to paste in which says build me a survey that collects first and last name with a full touchscreen qwerty keyboard. When the data is collected, display a take photo button and send the touchscreen command start photo booth. Going to add some notes here. Make it a clean modern design on a transparent background. Fix that typo up. Okay. And the key to all this is to then drop in our instruction sheet which tells Claude or ChatGPT how to connect this all to Breeze and make it interactive. So I'm going to hit go on that. And Claude normally takes about 2 minutes to generate one of these HTML surveys depending on the complexity. So I'll just pause the video for a moment while it processes. Okay, and we're back. So Claude has now completed that and that took about two minutes or so, maybe two or three minutes. So, it's created a clean, modern design here. Now, of course, you would give your AI agent details around the coloring styles and how you want them to fit together. I've just kept it fairly generic here. So, let's scroll down, have a quick look. Now, it's given us some tokens that we can use in Remote Pro. So, if we want to put this information onto a print layout, for example, we would use the token web view first name. And keeping in mind that capitalization does matter in Breeze with tokens. So we copy this fully. So we just need to ensure that when we set this up in the web panel settings in remote pro that we've configured the web view as the token ID for this. So, I'm going to go ahead and download this and then we'll jump into remote pro and we'll come into photo booth settings web panel and we'll enable the web panel and then we can go ahead and select that file that we've downloaded. Now, it might be good practice to move this into your assets folder where you've got all your other screen designs and settings but you don't have to. Now, I should also point out that the HTML can have other files that it depends on. So, if you got separate images or scripts or stylesheets, as long as the paths are all correct, they will work as well. [2:41] So, I'm going to go ahead and just select this from downloads folder. Okay, so it's this one here. And we need to set that token ID as web view is what Claude told us. And we'll scroll down here and we want to display this on the ready screen. And we'll just make sure that in touchscreen editor that we have the size and the position of that as we like. Okay. So that's full screen which is great. All right. So that's all looking good. We'll have a look at our print layout while we're here quickly as well and we'll edit the layout. Okay. So, this is from a previous test that I was doing. So, I'm just going to make sure that I double check what tokens we needed. So, we need web view first name, web view last name. So, I'm just going to copy those to make sure we've got them right. [3:35] And we'll come back into the layout and we'll edit that caption. And I'll just paste it in there twice. All right. So, web view first name, web view last name. So, that is all correct with the capitalization. All right. So, let's run the session through. All right. So, we got the keyboard up here. Now, you might want to adjust the design a bit because we've got transparency here, which I think looks quite nice, but you need to ensure that it works for your setup. So, I'm going to go ahead and put my name in. All right. So go done. Now it's going to give me the opportunity to update that name or go ahead and take the photo. So press take photo. Starts the countdown. [4:33] All right. And there we go. It's put my details onto the print layout because it's pulled it from that survey, which is great. So, that's how easy it is to use an AI tool like Claude or ChatGPT to create custom surveys. So, we could take that a little step further and say, let's add a dropdown list asking favorite city. I'll just say choose 10 random ones just for this example. So, we'll update this survey just to get an extra input type in there. And we've never had dropdown lists available in surveys in remote pro, but now you can just do it so simply with AI like this. So, I'm going to pause this again while we make this updated version. [5:33] Okay, and we're back, and it has completed that task. All right, so it's added a new token for us, web view city, and it's added an extra step into the survey. So, we'll go ahead and download this version of the HTML and we'll come into remote pro. We'll come back into our settings and we'll come into web panel and we'll update the HTML to the latest version and we'll okay that. And because we've now got that new city option, we'll add that to the caption as well and I think it was web view city but I'll just go back and check that. So I'll just say that web view city. Yep. All lower case. So that is correct. [6:28] Okay. So let's go ahead and run the session. All right. Favorite city. Great. Istanbul. Done. Take photo. All right. There we go. Steve loves Istanbul. So, it is that simple to do things like that. What else could we do? We could add some radio buttons into the mix as well. So, we'll go ahead and we'll get Claude to add in some radio buttons. Add in a question about what's his current mood as an example. [7:24] Let's use emojis for the choices. Pick five random ones. And let's add a marketing opt-in checkbox as well. And the background is a bit distracting. Can we make it less transparent? Okay. All right, all my typos aside. All right, let's hit go on that and we'll see what we come up with. I'll just pause the video and we're back in a sec. Okay, and we're back. So, it just took another minute or two for that update. So, it's added in a mood question, the marketing opt-in. [8:15] It's made some adjustments here to the background so it's a little less distracting, and we've got some new tokens that we can work with as well. So we've got our mood, mood emoji, opt-in as well. So we could start using this to control the overlay design. So we could have a different overlay based on the mood that has been selected for example. And all this data as well is available in the summary XML file in the session as well as in post request data when you are doing AI processing of images. Okay, let's go ahead and download this and have a look. All right, so we'll come back into our settings here, web panel, and we'll update the HTML to the latest version. [9:08] Open that, and let's run this through. Okay, so there we go. So, it's fixed the colors up on the keyboard so it's a little more prominent against the live view background. Okay. Next. All right. Favorite city, Tokyo. Current mood. All right. And here we've got the marketing opt-in as well. Or we could go back and we can check all the details as well. Okay, so done. And then we could say go ahead and take photo, which we won't do because we know how that works. Now let's imagine we have a scenario where we've entered all this data. Then the user wants to have another turn at the photo booth, but you don't want them to have to re-enter this every time. So what could we do about that? Let's have a look. [10:07] So I'm going to suggest to AI what we're wanting to do and see what solutions we can come up with. So can we retain the data for the next session in case the user wants another turn but doesn't want to have to re-enter the data. But also we don't want the data displayed for too long for privacy. Can we make it auto clear after 10 to 15 seconds? [10:56] Open to ideas. Okay. So I'll get going on that. So basically what we want to do here is allow guests to run another session without having to re-enter all that data, but we don't want that data to be visible for some other random person to see it or use it. So we want to basically have the data time out and clear. So we'll see what Claude comes up with in this scenario. Okay, so we're back. So it's done that. Now let's have a look. Now I had a quick sneak peek at the way this works and I don't think it got it quite right. So, we're going to make some changes, but let's have a look and see what it's done. The good thing about all this is that you can just preview all this HTML in a browser before you put anything into remote pro. [11:42] All right. So, we're just going to run this through. Okay. So the problem here is that it's thinking that we can display this little card here sort of at the end of the session but we have this HTML embedded on the ready page. So we need to get it to change the way it's thinking about this and essentially tell it we want the option to recall, maybe that's a better way of putting it, to recall the previous session data from this entry screen. So we'll go ahead and prompt Claude on that. Say this is not quite right. I think a better idea is a recall function that can be used at the start. [12:35] Press a button to grab the details of last session. But this should only be available as an option for 10 to 15 seconds. Maybe show some form of animation to show the remaining time. Okay, I think that's a better approach. So, we want to recall the information from the start screen, and if you don't need to use it, then you can just continue with a new session. So, I'll just pause the video while Claude does its thing and we'll see what we come up with. And we're back. So, I had a little back and forth with Claude about this one and it didn't get it quite right. What happened is because we wanted the privacy factor of this recall button, it was timing it out after 15 seconds, but it was starting that 15 seconds from the beginning of the session. And so by the time the photo session had finished, it was still running that timer in the background. So the button had disappeared by the time I got back to it. So I fixed that up and I just cut that bit out so you didn't have to watch my back and forth. But if you have a look at the clock down there, that just took a few minutes to sort out. So I've downloaded that one already and I've already put it into Remote Pro. So let's have a look at how this session runs now. All right. So, we'll put in my name. Okay. We'll just run a session through here. [14:22] All right. So, that looks good. And when we get back to this ready screen, we'll have a button where we can recall the previous result here. So it says use my last details. And if I tap that, it's got that back in there. So we can run another session through. And of course, you can go ahead and edit that if you need to as well. All right. So let's have a look. We'll run this through completely and then we'll see what happens if we let it time out. [15:08] All right. So, we'll let this time out. So, it's got 15 seconds. And you can see the little animation down the bottom here, and we'll see what happens. Okay, and then it disappears. So you've got no way to recall that previous information. Okay, so that gives you a bit of an idea of what you could do with using AI, Claude or ChatGPT, to generate surveys. So you could take this a whole lot further. You could gamify, you could add quizzes. There's all sorts of things you could do that I haven't even thought about yet. Because it can also talk to the internet, you could be retrieving data from online. There's so many things that you could be doing with it. Another thing would be an interactive display. So, you could be pulling in advertising if you got a permanent install that can be updated from a third party platform. So, a whole lot of opportunity, but this is just an example of how you could start with a fairly basic survey and expand upon it, and do things that were never possible in the current survey tool, which you can still use in remote pro, but this just gives you a whole new world of opportunity. So, have a play around. I think you'll come up with some amazing things that you can do with this, and we'd love to see what you come up with. --- Source: https://www.breezesoftware.com/help/remote-pro/creating-html