GPT4 Can Create Responsive Layouts from Ascii
Key Takeaways
The video demonstrates how to use GPT4 to create responsive layouts from ASCII representations, utilizing tools like asciflo.com and Visual Studio Code to generate HTML and CSS code.
Full Transcript
what if I told you that we could go and take a design like this something very simple kind of like a wireframe then use a tool called asciflo.com that will allow us to quickly draw out the same kind of wireframe structure import that into chat GPT and it will then output HTML CSS for us well you probably think I'm a liar but we're going to do that right now alright so here is the design you can kind of look at this as like a wireframe or just a starting point essentially we do have some colors here this is in figma and it's just for our references to grab some color scheme so that we can communicate with chat GPT some basic styling so here's a desktop with three cards and then here's mobile we're gonna make this responsive as well so what we need to do is take this General structure and recreate it in something called asciflo.com all right so it's a free tool and it allows you just to create an output ASCII or essentially so what we can do is choose boxes left click here just to create kind of like the website Website Layout here on desktop we can choose text and we'll go ahead right here and specify um this is my snazzy I headline all right like that that's good we'll do a sub headline right here this is also my sub headline right here awesome and then we'll go ahead and take the boxes we're gonna have three boxes so one will be like right here one will be like right here again I'm just kind of eyeballing this it may not be even I don't think it's entirely too important and then we're gonna go ahead and take the text tool we'll say card one card two and card three finally we'll have some more text down here this is a footer text section that's it now we click on this download button and we choose copy to clipboard next up we go over to our gpt4 okay so this part's real important this is the prompt engineering or the prompt construction section because uh if we were just to Output this and say go ahead and make the website here is an ASCII representation of it it's not going to give us something very you know close to what we have but just to show you let's go ahead and do that I'm going to say uh let me zoom up here this is an ASCII representation of a Website Layout please make it in HTML and CSS so let's go ahead and then paste it and hit enter now it's still producing the CSS below but take a look at this HTML it's actually really solid uh it knew to wrap everything in a container which is probably representative of the outline that I chose um it knows H1 it uses it used it H2 this time when I first did this it used a paragraph tag that's not a big deal diff class card container right here uh that's exactly what I would call it myself so that's awesome div class card I would call it that as well I may use an unordered list instead of a development but still a footer down here I probably would wrap that in paragraph text but still pretty accurate For What It produced now sometimes what happens if you ask it to generate a bunch of information one prompt it will just kind of error or not error but it'll just stop producing the content so what you can do is ask a follow-up question please finish the CSS starting with the card container rule set there we go all right so here is the CSS and so what I'm going to do is open up visual studio code and paste both of these in so here is the HTML that it gave me and then here is the CSS here is the result all right so it didn't use the colors obviously because it didn't know about the colors yet we have to communicate it with some follow-up prompts but you can see that it's actually a pretty good job it didn't make it responsive because we didn't ask it to make it responsive but nonetheless this is actually pretty solid here so we can ask it to fix some of these things in a follow-up prompt please make the following adjustments to the CSS make it mobile first make the design responsive with a minimum width media query at 600 pixels the website background should be the purple color in the website text should be white the card should have a white background with a slightly rounded corners and the card text should be black and give the cards a minimum height of 300 pixels remove the border and finally the font family for the website should be nuneto left the line to footer text and get to the Border above it and give the H2 element a normal font way and make it slightly smaller and hit enter [Music] alright let's copy the new CSS let's go back I have not checked this out yet paste it now I know one thing that it did include is the new Neato font family I have it already installed on my computer though otherwise you get to ask it to Output the import code for you and let's go ahead and check it out all right that's a lot better already we could do another follow-up asking it to Center horizontally and vertically the card uh one two and three type let's go ahead and see if it is responsive I'll look at that automatically stacks it made the sub headline regular font weight I it left aligned the footer section it gave the colors exactly what we wanted it gave the oopsie wrong thing it gave this here rounded corners it pretty much nailed everything that we wanted it to do so what makes this really exciting is obviously this isn't a great use case I having to use asciflow.com however it kind of goes to show once they open up the multimodal functionality such as the image recognition then it could potentially almost nail everything exactly as we wanted out of the box if it's able to do just this based on ASCII and having a few follow-up prompts so the future is very exciting hopefully you follow along make sure to subscribe here if you haven't yet and I'll see you very soon goodbye if you enjoyed this video check out designcores.com where you can learn UI ux CSS and more with my custom interactive platform that makes learning fun and easy
Original Description
http://bit.ly/3U5sFV9 👈 Learn UI/UX & CSS Today. Use "UI2023" for 23% Off!
https://designcourse.com/af 👈 My upcoming "Advanced Frontends" Course
-- Today, I'm going to show you a process I learned from a user on Twitter: https://bit.ly/40Vpoda that allows you to create a basic layout using an Ascii generator: https://asciiflow.com, and feed it into GPT4 to create an accurate representation of the layout! I'll show you some prompt tips on how to make this all work, too.
0:00 - Intro
0:30 - Figma Design Preview
0:57 - Ascii Flow
2:08 - Initial Prompt
4:20 - Initial Result
4:40 - Follow up Prompt
5:36 - Final Result
Let's get started!
- - - - - - - - - - - - - - - - - - - - - -
Subscribe for NEW VIDEOS!
Learn UI/UX: https://designcourse.com
My personal FB account: http://fb.com/logodesigner
Coursetro FB: http://fb.com/coursetro
Coursetro's Twitter: http://twitter.com/designcoursecom
Join my Discord! https://discord.gg/a27CKAF
^-Chat with me and others
- - - - - - - - - - - - - - - - - - - - - -
Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network.
Now, I focus all of my time and energy on this channel and my website Designcourse.com.
Come to my discord server or add me on social media and say Hi!
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DesignCourse · DesignCourse · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Photoshop Pen Tool Tutorial (Tattoo Design)
DesignCourse
How to Design the Microsoft Logo in Photoshop
DesignCourse
Photoshop Gradients Video Tutorial
DesignCourse
Your Guide to Layer Styles
DesignCourse
Layer Masks in Photoshop
DesignCourse
iOS App Icon Design Tutorial in Illustrator CS6
DesignCourse
Illustrator CS6 Logo Design Tutorial - Archfold
DesignCourse
Photoshop CS6 3D Tutorial - Magic Tent Illustration
DesignCourse
How to Design a Tshirt Tutorial - Adobe Illustrator
DesignCourse
Types of Logos - Lettermark & Monogram Logo Type
DesignCourse
Banner Design in Photoshop CS6
DesignCourse
How to Design a Logo in Illustrator CC
DesignCourse
Designing a Logo in Photoshop CC
DesignCourse
1. Launch & Market a Web Based Business - Introduction
DesignCourse
2. Launch & Market a Web Based Business - Logo Design
DesignCourse
3. Home Page Mockup in PS : Part 1
DesignCourse
4. Home Page Mockup in PS : Part 2
DesignCourse
5. Home Page Mockup in PS : Part 3
DesignCourse
6. Home Page Mockup in PS : Part 4
DesignCourse
7. Home Page HTML & CSS - Part 1
DesignCourse
8. Home Page HTML & CSS - Part 2
DesignCourse
Using Photoshop to Showcase Mobile Projects
DesignCourse
Flat Icon Design Tutorial in Illustrator CC
DesignCourse
Illustrator CC Logo Design Tutorial - A Logo That "Pops"!
DesignCourse
Logo Design Follow Along 1: Emblem Logo Design
DesignCourse
Showcasing Logos in 3D with Blender
DesignCourse
How to Design an Effective Lettermark Logo
DesignCourse
Squeeze Page Design Tutorial in Photoshop (Part 1)
DesignCourse
Squeeze Page Design Tutorial in Photoshop (Part 2)
DesignCourse
Mobile GUI Element Design in Adobe Photoshop CC (Part 1)
DesignCourse
Mobile GUI Element Design in Adobe Photoshop CC (Part 2)
DesignCourse
Flat Mobile App Design in Photoshop CC - Weather App
DesignCourse
Create Reflective 3D Text in Blender (Beginner)
DesignCourse
Animating a Logo with Adobe After Effects CC (Beginner)
DesignCourse
Design a Game Website Mockup in Photoshop CC (Part 1)
DesignCourse
Design a Game Website Mockup in Photoshop CC (Part 2)
DesignCourse
Photo Manipulation Tutorial in Photoshop CC (Beginner)
DesignCourse
Advertising Illustration Tutorial in Photoshop CC
DesignCourse
Perspective Warp Tool Tutorial in Photoshop CC
DesignCourse
Free Giveaway Contest. (WiseBanner Banner Maker).
DesignCourse
Design an Animated Loading/Download Icon (GIF)
DesignCourse
Contest Winners (WiseBanner)
DesignCourse
Model & Animate a 3D Push Button in Blender (Beginner)
DesignCourse
Mega Tutorial - iPhone Breathalyzer - Project Introduction
DesignCourse
Part 1 - iPhone Breathalyzer - Blender
DesignCourse
Part 2 - iPhone Breathalyzer - Rendering & GUI Design
DesignCourse
Part 3 - iPhone Breathalyzer - UI Animation in After Effects
DesignCourse
Part 4 - iPhone Breathalyzer - Website Design in Photoshop CC
DesignCourse
Part 5 - iPhone Breathalyzer - HTML Part 1
DesignCourse
Part 6 - iPhone Breathalyzer - HTML/CSS Part 2
DesignCourse
Part 7 - iPhone Breathalyzer - HTML/CSS Part 3
DesignCourse
Part 7 - iPhone Breathalyzer - Finishing Touches
DesignCourse
Square Space Logo Maker - C'mon People.
DesignCourse
Design a Bloody Knife in Photoshop CC
DesignCourse
Typographic Poster Design Tutorial in Illustrator (Part 1)
DesignCourse
Typographic Poster Design Tutorial in Illustrator (Part 2)
DesignCourse
Modern Business Card Design in Illustrator CC (Part 1)
DesignCourse
Modern Business Card Design in Illustrator CC (Part 2)
DesignCourse
Parallax Tutorial using Parallax.JS
DesignCourse
Interview: Andrew Price of BlenderGuru.com
DesignCourse
More on: UI Design
View skill →Related Reads
📰
📰
📰
📰
4 ways canvas text rendering breaks in multilingual apps (that en/ja testing will never catch)
Dev.to · Mxhlix
I Asked AI How the Design Industry Will Look in 7 Years. Here Is What It Said.
Medium · UX Design
Art Director’s Advantage in the AI Gen Era
Dev.to AI
Astryx vs shadcn/ui vs MUI: 3 React design systems compared for 2026
Dev.to · Manu Shukla
Chapters (7)
Intro
0:30
Figma Design Preview
0:57
Ascii Flow
2:08
Initial Prompt
4:20
Initial Result
4:40
Follow up Prompt
5:36
Final Result
🎓
Tutor Explanation
DeepCamp AI