Jump to content

rvandyke

Member
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by rvandyke

  1. Did you design it from the smallest screen size, then scale it from there? That's the easiest way to make anything responsive. Set background colors on divs before putting in the content and make sure it is sizing the way you want it to then resize as the screen increases and when you want the divs to stop resizing, set a max width. Hope that helps. Happy coding 🙂.

  2. What are the best resources as far as finding freelance web development/design jobs (besides fiver upwork)? I understand reddit is a good way to get traffic to your site but how does that work? Do you need high reputation or something for it to work? Looking hard for jobs... let me know! 

  3. Hello,

     

    I am doing some practice right now and I am wondering how to populate this dropdown menu with my database.... I think the code is correct but not sure:

     

    (lines 2-9) //importing the country database
    readRecords("COVID-19 Cases per Country", {}, function(records){
      var countries_list  = [];
      for(var i=0; i < records.length; i++){
        appendItem(countries_list,[i]. Country);
      }
      setProperty("countryDropdown","options",countries_list);
    });

     

     

    help.png

  4. Question: do you think the coloring looks good overall? Or should change the footer color as shown here? Or does it look fine as gray like it is now? Also , do you think the images and element spacing look fine overall?

    thanks!

     

     

    question.png

  5. Thanks for the kind review! Helped a lot. I think I may just do a form and validate it with JS at the end of the page. But , like you said, it doesn't leave a traceable message. I tried to make the contact button as easy as possible to press and link to my email immediately.  Maybe I should put "Email Me" for the button so the user knows what to open it with.What would you suggest? Also, in the footer it contains my phone number and email address. 

    • Like 1
  6. Hey guys! So far my website is looking great! Just trying to get this contact form to function. Wondering if everything lines up:

    HTML code:

    <!--contact-form------------------->
        <section id="contact-form">
        <form>
        <!--left--------------------------------------->
        <div class="contact-left">
        <h1 class="c-l-heading"><font style="border-bottom: 3px solid #1ED98B;">Writ</font>e Me</h1>
        <!--name-------->
        <div class="f-name">
        <font >Name</font>
        <input type="text" placeholder="Full Name"/>
        </div>
        <!--email-------->
        <div class="f-email">
        <font >Email</font>
        <input type="email" placeholder="Example@gmail.com"/>
        </div>
        </div>
        <!--right------------------------------------------->
        <div class="contact-right">
        <!--message-------->
        <div class="message">
        <font >Message</font>
        <textarea name="message" rows="5" cols="20" placeholder="Write Message..."></textarea>
        </div>
        <!--submit-btn------------>
        <button>submit</button>
        </div>
            
        </form>
        </section>

     

    php:

    ?php
        $name = $_POST['name']; /*this will display the name of the users */
        $visitor_email = $_Post['email']; /*this will display the email of the user */
        $message = $_POST['message']; /*this will store the message */


        $email_from = 'Ryan-vand@outlook.com' /*I will receive this via this line of code */

        $email_subject = "new form submission";

        $email_body = "User Name: $name.\n"."User Email: $visitor_email.\n"."User Message: $message.\n";


        $to = "Ryan-vand@outlook.com";
        $headers = "From: $email_from\r\n";
        mail($to,$email_subject,$email_body,$headers);

        header("Location: firstdraft.html");

    ?>

  7. Hey , trying to download MySQL but can only do the demo while following the course. Anyone know how I can access MySQL? I downloaded it but I don't know where to access it on my computer rather than the demo. Also when I try to use the demo it displays this message....perhaps it would be better to just use the version on my computer as opposed to the demo:

     

    Database-help.png

    • Like 1
  8. Hello,

    I am having trouble using php. I downloaded the MAMP and its telling me sql and apache server is running and I try to type in my php page after the local host in the address bar , but it keeps telling me page not found on the sever. I made sure to save the code page in the htdocs ...... what could be the problem here?

     

     

    thank you,

     

     

    Ryan

×
×
  • Create New...