Jump to content

WolfLord Skywalker

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by WolfLord Skywalker

  1. So @CLHarrison I think it would help if you replaced the @media screen and (max-width: 600px) { .topnav a:not(:first-child), .dropdown .dropbtn { display: none; with <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <style>. perhaps it's a fitting to screen problem. Of u try it and/or make any breakthrougs tell me.
  2. @CLHarrisonI'll see if I caif work on some code based on that and get back to ya
  3. Another thing I suggest is tweaking the float variable. Tell me how it works out
  4. @CLHarrison more examples for reference <!DOCTYPE html> <html> <head> <style> body {background-color: powderblue;} h1 {color: blue;} p {color: red;} </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html> As you can see, by specifying that h1 should be blue when you type text in h1 it will be blue. Also this helps (forget the php for now) <!DOCTYPE html> <html> <body> <h1>The textarea wrap attribute</h1> <form action="/action_page.php"> <textarea rows="2" cols="20" name="usrtxt" wrap="hard"> At W3Schools you will find free Web-building tutorials. </textarea> <input type="submit"> </form> </body> </html> It specifies what text to be wrapped
  5. So, I think you should link each part of the page to each parameter of css. For example the way HTML has <h1>, <h2>, and <p> (different parameters), you can also link multiple divs (I hope my English isnt too complicated). For example scrap '>' and do: <!DOCTYPE html> <html> <head> <style> div.ex1 { width: 500px; margin: auto; border: 3px solid #73AD21; } div.ex2 { max-width: 500px; margin: auto; border: 3px solid #73AD21; } </style> </head> <body> <h2>CSS Max-width</h2> <div class="ex1">This div element has width: 500px;</div> <br> <div class="ex2">This div element has max-width: 500px;</div> <p><strong>Tip:</strong> Drag the browser window to smaller than 500px wide, to see the difference between the two divs!</p> </body> </html> The div ex1 specifies the particular part of html to act on
  6. Ok cool. Hope atom works out. As for the phone thing, I've tries it too and it's really annoying. Phone's can't process filepaths, no matter how specific you are. You have to work with pc's. Again I wish you good luck with atom and css
  7. I think the thing to do would be to specify the width directly as shown here <h2>HTML Image</h2> <img src="pic_trulli.jpg" alt="Trulli" width="500" height="333"> For alignment, I strongly advise not using word or wordpad, as it will alter the code. If the <br> doesn't help I'm not sure what will but I'll keep looking. As for the forum, php and mysql is a great option. I'm obsessed with them. However, w3schools only provides a one-way chat system. For the full tutorial, I hope these help: https://dev.to/bhupendra1011/build-a-chat-application-in-javascript-194p https://css-tricks.com/jquery-php-chat/
  8. Or just replace <body> with this body {background-color: coral;}
  9. Perhaps you should omit body altogether I.e <p style="background-image: url('img_girl.jpg');"> If you want the correct url go to the search bar, search for Blue background.webp, copy the filepath and place it in place of img_girl.jpg
  10. Perhaps you should omit body altogether I.e <p style="background-image: url('img_girl.jpg');"> If you want the correct url go to the search bar, search for Blue background.webp, copy the filepath and place it in place of img_girl.jpg
  11. Hey guys. Please it would help if youd post the source code for an ai scanner as shown here https://www.w3schools.com/ai/default.asp Also what do you save ai files as? And may I humbly suggest you add a three.js tutorial l. Thanks
  12. I'm tryna make a game with an HTML canvas. I know how to draw obstacles on a canvas. I also know how to draw on my own image from my laptop. My problem lies in combining both- drawing my image onto an obstacle filled canvas. Can anyone help?
  13. @Ingolme I'm tryna make a game with an HTML canvas. I know how to draw obstacles on a canvas. I also know how to draw on my own image from my laptop. My problem lies in combining both- drawing my image onto an obstacle filled canvas. Can u hwlp
  14. Oh OK. Mind sharing the code 4 home.html. Maybe I can work out something.
  15. Also I have a problem of my own. Do you think you can help? How do you code an ai scanner (as shown in the w3schools ai tutorial front page), and what is the file extension for ai code
  16. Hey pal. I've seen the same problem too. If you want to add multiple words to memory,let's say memory1 for example then if(MEMORY1 == "hello"){ = wrong if(MEMORY1 == "hello", "hi"){ = right helps the ai add more vocabulary to each string
  17. Anyone know how to draw both obstacles and personal image (I.e like smiley.gif) onto a game canvas? I'm developing a game and can't do it without this. Anyone???
  18. Yes the webp works as well as jpg. But even on laptop I can't do both. If you want to see how the code works for real change your browser to desktop view. So is there a way to combine
×
×
  • Create New...