-: The next segment I get to show you today
is how you can use Claude to write code.
Now if you're a coder,
you can absolutely take major advantage of this skill.
However, because I'm not a coder,
I'm gonna show how someone who's not a coder
can still benefit from it's abilities to create code
and speak in coding languages.
I wanna build a website,
and the website that I'd like to build
looks a lot like the website that I found
and put into the prompt suggesting to Claude 2.
And I've told it, analyze this website
and help me write a code that will allow me
to build one with a very similar structure.
Here we go.
Now, it gives me suggestions
for how to structure my website similarly,
it tells me what to use for the overall page layout,
and it tells me for dynamic content and functionality,
what I should be focused on
in order to get the results that I like.
And here we go.
Right at the bottom you see some example code snippets.
It gives me an HTML code snippet,
and it also gives me a PHP code snippet.
If you look at the top right corner
of the coding suggestion box,
you'll see an option to copy the code.
So you can literally take this code,
copy and paste it into whatever platform you want,
and double check the code,
make sure the language is correct,
or just throw it straight into WordPress
and have your website have at least an outline
that looks similar to what you've asked for.
Now at the bottom, it gives me a disclaimer,
which Claude 2 ensures that it always does.
This is just a high level outline
to demonstrate the key technologies of logic involved.
Let me know if you would like to expand
on any part of the website implementation and details.
It's always happy to take us to the next step.
I think that's really amazing.
And one of my favorite things
about using Claude 2 specifically
is that because these questions are being asked,
it's allowing me to get even deeper into my field
and feel comfortable asking questions
where I'm not really an expert.