#Chatbot for corporate lord.

9 messages · Page 1 of 1 (latest)

ocean raven
#

I'm writing html with css. How do make any other pages have the same layout as index html page? Copy pasta? Thank you

spiral kettle
#

Have a separate style.css file, add the layout you want and then import it

#

<link rel="stylesheet" href="style.css">
So something like this

ocean raven
#

I didn't even think of this. Thank you.

#

I have another question: my html have a if else statement, do I use separate argument case.css file then import it? Different html have different if else cases so not sure if that's helpful.

spiral kettle
#

if else statements? If you mean Javascript I don't think there should be any conflict since CSS is used to make your webpages look visually appealing

ocean raven
#

Thanks for that reply. JS making css look visually appealing. I got that. There is a page called contact us. Under box, there has to be an if else statement to check and verify that name in contact us should be alphabet and phone number should be numeric. That's what I mean if else statement under script part of HTML.

ocean raven
#

I guess function part of the script in html

ocean raven
#

Figured it out. Put the function and if else statement in a .JS file and ref it.