|
6 | 6 |
|
7 | 7 | <style>
|
8 | 8 | body, html {
|
9 |
| - height: 50%; |
10 |
| - margin: 0 auto; |
11 |
| - min-height: 100vh; |
12 |
| - display: flex; |
13 |
| - flex-direction: column; |
14 |
| - align-items: center; |
15 |
| - max-width: 625px; |
16 |
| - text-align: center; |
| 9 | + height: 50%; |
| 10 | + margin: 0; |
| 11 | + font-size: 20px; |
| 12 | + margin-top: 2px; |
| 13 | + margin-bottom: 16px; |
17 | 14 | }
|
18 | 15 |
|
19 |
| - /* Cool AI Bot Background Vid */ |
20 |
| - .bg2 { |
21 |
| - position: absolute; |
22 |
| - top: 0; |
23 |
| - right: 0; |
24 |
| - z-index: -1; |
25 |
| - min-height: 100vh; |
26 |
| - } |
27 |
| - |
28 |
| - @media (min-aspect-ratio: 16/9) { |
29 |
| - .bg2 { |
30 |
| - width: 100%; |
31 |
| - height: auto; |
32 |
| - } |
33 |
| - } |
34 |
| - @media (max-aspect-ratio: 16/9) { |
35 |
| - .bg2 { |
36 |
| - width: auto; |
37 |
| - height: 100%; |
38 |
| - } |
39 |
| - } |
40 |
| - |
41 |
| - /* Responsiveness: Smartphones and other devices */ |
42 |
| - /* Small phones, tablets, large smartphones */ |
43 |
| - @media (max-width: 768px) { |
44 |
| - nav { |
45 |
| - height: 68px; |
46 |
| - color: whitesmoke; |
47 |
| - } |
48 |
| - |
49 |
| - h1 { |
50 |
| - font-size: 12px; |
51 |
| - text-align: center; |
52 |
| - } |
53 |
| - |
54 |
| - .p1 { |
55 |
| - font-family: "Gill Sans", sans-serif; |
56 |
| - text-align: center; |
57 |
| - font-size: 12px; |
58 |
| - } |
59 |
| - |
60 |
| - .queryPrompt { |
61 |
| - font-family: "Fantasy", Copperplate, Papyris; |
62 |
| - text-align: center; |
63 |
| - color: whitesmoke; |
64 |
| - font-size: 8px; |
65 |
| - } |
66 |
| - } |
67 |
| - |
68 |
| - @media (max-width: 1366px) { |
69 |
| - nav { |
70 |
| - height: 68px; |
71 |
| - color: whitesmoke; |
72 |
| - } |
73 |
| - |
74 |
| - h1 { |
75 |
| - font-size: 16px; |
76 |
| - text-align: center; |
77 |
| - } |
78 |
| - |
79 |
| - .p1 { |
80 |
| - font-family: "Gill Sans", sans-serif; |
81 |
| - text-align: center; |
82 |
| - font-size: 8px; |
83 |
| - } |
84 |
| - |
85 |
| - .queryPrompt { |
86 |
| - font-family: "Fantasy", Copperplate, Papyris; |
87 |
| - text-align: center; |
88 |
| - color: whitesmoke; |
89 |
| - font-size: 12px; |
90 |
| - } |
91 |
| - } |
92 |
| - |
93 |
| - |
94 |
| - /* .bg { */ |
| 16 | + |
| 17 | + .bg { |
95 | 18 | /* The image used */
|
96 |
| - /* background: url("https://sallysbakingaddiction.com/wp-content/uploads/2013/05/classic-chocolate-chip-cookies.jpg"); |
97 |
| - |
| 19 | + background: url("https://sallysbakingaddiction.com/wp-content/uploads/2013/05/classic-chocolate-chip-cookies.jpg"); |
98 | 20 |
|
99 | 21 | /* Full height */
|
100 |
| - /* height: 100%; */ |
| 22 | + height: 100%; |
| 23 | + top: 50; |
| 24 | + right: 0; |
101 | 25 |
|
102 | 26 | /* Centers and scales my image smooth and professional */
|
103 |
| - /*background-position: center; |
| 27 | + background-position: center; |
104 | 28 | background-repeat: no-repeat;
|
105 | 29 | background-size: cover;
|
106 |
| - }*/ |
| 30 | + } |
107 | 31 |
|
108 |
| - /* All Font (particuraly the answers to query). */ |
109 |
| - font { |
110 |
| - color: whitesmoke; |
111 |
| - font-size: x-large; |
112 |
| - } |
113 | 32 |
|
114 | 33 | /* Style for my header */
|
115 | 34 | .h1 {
|
116 |
| - font-size: xx-large; |
117 | 35 | font-family: "san-serif", Playfair Display, Bodoni;
|
118 | 36 | text-align: center;
|
119 |
| - padding: 7px; |
120 |
| - background: linear-gradient(to right, gold, #71713a, #544478, silver, whitesmoke, gold, #71713a, #544478, silver, whitesmoke); |
121 |
| - -webkit-background-clip: text; |
122 |
| - -webkit-text-fill-color: transparent; |
123 | 37 | }
|
124 | 38 |
|
125 | 39 |
|
126 | 40 | /* First paragraph style */
|
127 | 41 | .p1 {
|
128 |
| - min-height: 100vh; |
129 | 42 | font-family: "Gill Sans", sans-serif;
|
130 | 43 | text-align: center;
|
131 |
| - color: whitesmoke; |
132 |
| - font-size: 24px; |
133 |
| - display: flex; |
134 |
| - flex-direction: column; |
135 |
| - align-items: center; |
136 |
| - max-width: 625px; |
137 |
| - margin: 0 auto; |
138 |
| - } |
139 |
| - |
140 |
| - .para { |
141 |
| - font-size: 24px; |
142 |
| - margin-top: 2px; |
143 |
| - margin-bottom: 16px; |
144 |
| - color: whitesmoke; |
145 | 44 | }
|
146 | 45 |
|
147 | 46 |
|
148 | 47 | /* My query prompt style */
|
149 | 48 | .queryPrompt {
|
150 |
| - font-size: 24px; |
151 | 49 | font-family: "Fantasy", Copperplate, Papyris;
|
152 | 50 | text-align: center;
|
153 |
| - color: whitesmoke; |
154 | 51 | }
|
155 | 52 |
|
156 | 53 |
|
|
161 | 58 | justify-content: center;
|
162 | 59 | align-items: center;
|
163 | 60 | gap: 5px;
|
164 |
| - overflow: hidden; |
165 |
| - color: whitesmoke; |
166 | 61 | }
|
167 | 62 |
|
168 | 63 |
|
|
173 | 68 | text-align: center;
|
174 | 69 | width: fit-content;
|
175 | 70 | min-width: 150px;
|
176 |
| - max-width: 625px; |
177 | 71 | }
|
178 | 72 |
|
179 | 73 |
|
180 | 74 | /* My AI button style */
|
181 | 75 | button {
|
182 |
| - background-color: gold; |
| 76 | + background-color: black; |
183 | 77 | color: white;
|
184 | 78 | border: none;
|
185 | 79 | border-radius: 50%;
|
|
194 | 88 |
|
195 | 89 | <body>
|
196 | 90 |
|
197 |
| - <video autoplay loop muted plays-inline class="bg2"> |
198 |
| - <source src="./aiBot.mov"> |
199 |
| - </video> |
200 |
| - |
201 | 91 | <!-- For association with my background style -->
|
202 |
| - <!-- <div class="bg"></div> --> |
| 92 | + <div class="bg"></div> |
203 | 93 |
|
204 | 94 |
|
205 | 95 | <!-- My header -->
|
206 |
| - <h1 class="h1">My First AI Chat Bot</h1> |
| 96 | + <h1 class="h1" >My First AI Chat Bot</h1> |
207 | 97 |
|
208 | 98 |
|
209 | 99 | <!-- My first paragraph -->
|
210 |
| - <p class="<p class="p1 para" style="color:whitesmoke"> |
211 |
| - <a href="https://supercodingninja.github.io/" target=”_blank”><b style="color: gold; font-size: xx-large;"><u>"HELLO, WORLD!"</u></b></a> (👈🏿Check out first website & my AI Chatbot repository just by clicking the hyperlinks 👇🏿) This is my first AI chat box. I have developed dialogue prompts before- even multiple choice <a href="https://supercodingninja.github.io/WhoIsOutside/" target=”_blank”>game</a>- and I've even used API (Application Programming Interface). I am familiar with integrating tools and technologies into a website (such as ChatGPT). Still, I had never fully coded my very own Chat Bot until Mr. David Bragg, founder of <a href="https://frontendsimplified.com/" target=”_blank”>Frontend Simplified</a> showed me how, and I highly recommend his courses! |
| 100 | + <p class="p1"> |
| 101 | + <a href="https://supercodingninja.github.io/" target=”_blank”>"HELLO, WORLD!"</a> This is my first AI chat box. I have developed dialogue prompts before- even multiple choice <a href="https://supercodingninja.github.io/WhoIsOutside/" target=”_blank”>game</a>- and I've even used API (Application Programming Interface). I am familiar with integrating tools and technologies into a website (such as ChatGPT). Still, I had never fully coded my very own Chat Bot until Mr. David Bragg, founder of <a href="https://frontendsimplified.com/" target=”_blank”>Frontend Simplified</a> showed me how, and I highly recommend his courses! |
212 | 102 | </p>
|
213 | 103 |
|
214 | 104 |
|
|
0 commit comments