Jump to content

Sherin

Members
  • Posts

    76
  • Joined

  • Last visited

Everything posted by Sherin

  1. <html> <head></head> <style> ul { display: table; margin : 0 auto; } </style> <body> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> </body> </html> I think this code is help for you
  2. select Products.productId,Product.ProductName,Orderdetails.quantity from Products inner join Orderdetails on Products.productId=Orderdetails.productId where Orderdetails.quantity=10 Order By Products.ProductName I think this was is help for you
  3. You can use flex-grow property in your css . .field-item{ flex-grow:<number> } For further details you follow this link: https://css-tricks.com/almanac/properties/f/flex-grow/
  4. Sherin

    Why use em?

    The key value em units offer is they allow sizing values to be determined by a font size other than that of the html element. For this reason, the primary purpose of em units should be to allow for scalability within the context of a specific design element
  5. Hello, You can add html code for below steps ->From the WordPress dashboard, go to the Widgetspage under the Appearance menu. ->Choose the Custom HTML option and click Add Widget. ->Fill out the widget's title and insert your HTML code. ->Save the changes. ->The result You can add javascript for below this links: https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/
  6. Sherin

    Date Format

    insert into table1 values('2012-02-21T18:10:00', '2012-01-01T00:00:00'); SELECT CAST('02-21-2012 6:10:00 PM' AS DATETIME2), CAST('01-01-2012 12:00:00 AM' AS DATETIME2) You can try this.
  7. Your code is correct, but as of coding standards you can declare heading tag <h1>...<h6> at a one time.You can't declared multiple times h2.
  8. Sherin

    CSS Proprity

    You have define first of all border property after you can define property which you define in post div { border:2px solid black; border-bottom-left-bottom-radius:3px; }
  9. You will declare <iostream.h> instead of <iostream> in your file . You have declared int i twice. but actually all languages are one time declare to variable. You can add only i=0 in if statement. if you have not another variable so i++ not working #include<iostream.h> using namespace std; int main () { int i,n=5; for (i=0;i<n;i++) { cout<< i << endl; } return 0; }
  10. You can use border-image-width instead of border-width. border-image-width definitely works for whatever you try on border with image.
  11. document.getElementById("lastentry") instead of document.getElementryById("lastentry")
  12. First of all you have create migration file with this command : php artisan make: migration table_name this command is execute and create table with timestamp of above: after this command is direct whenever you create database of below this command: php artisan migrate If you have specific table migrate this command is execute: php artisan migrate --path=/database/migrations/filename.php
  13. <script> function sortTable() { var filterTable, rows, sorted, i, x, y, sortFlag; filterTable = document.querySelector(".filterTable"); sorted = true; while (sorted) { sorted = false; rows = filterTable.rows; for (i = 1; i < rows.length - 1; i++) { sortFlag = false; x = rows[i].getElementsByTagName("TD")[0]; y = rows[i + 1].getElementsByTagName("TD")[0]; if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()) { sortFlag = true; break; } } if (sortFlag) { rows[i].parentNode.insertBefore(rows[i + 1], rows[i]); sorted = true; } } } </script> I would be this code is help for you..
  14. Sherin

    attribute

    <button onClick="newText()">Push Me</button>
  15. display:flex You have all the box in same line you can use disply:flex property better than position property.
  16. You can many use simple <div> in your website. you can use bootstrap grid with <div> use in your website it makes a faster
  17. You can space between in single quote and double quote around the $_POST['password'] $sql = "SELECT * FROM users WHERE email_address = ' ".$_POST['email']." ' AND password =' " .$_POST['password'] " ' ";
  18. Sherin

    SQL Query - Conditions

    Hello select column_name1, column_name2, column_name3 where column_name3=23 and column_name3 =41
  19. Using jquery var filename = $('input[type=file]').val().split('\\').pop();
  20. You can html element inside an SVG using foreignobject <html> <head> <meta charset="UTF-8"> <title>HTML inside SVG</title> <style type="text/css"></style></head> <body> <div>I'm a div inside the HTML</div> <svg width="500" height="300" style="border:1px black solid"> <foreignobject class="node" x="46" y="22" width="100" height="100"> <div style="border:1px yellow solid">I'm a div inside a SVG.</div> </foreignobject> </svg> <div>Interesting! But you a Foreign Object.</div> </body> </html>
  21. Sherin

    SQL Query - Conditions

    You can try this query select column_name1,column_name2 ,column_name3 where column_name3 = 23 and Val=41; i will this query is help for you if you any query this query related then you ask me.
  22. You have not declare I with datatype of int ,var then you facing error in for loop
  23. in your code you have <llink> write between <head></head> but actually write <link href="" rel="stylesheet"> so may be this is help for you.
  24. in your code you have try with this code phone_number = phone_number.replace("^(?:(?:\+|0{0,2})61(\s*[\-]\s*)?|[0-9]?)?[]\d{7}$")
  25. You want to pass which page is redirect on when click submit button to add action attribute on form tag and method attribute <form action="/home" method="Post"> <input type="Submit" class="btn" value="Login"> </form>
×
×
  • Create New...