Posts by Wemerson Nino • 90 points
16 posts
-
-3
votes3
answers169
viewsA: What is the loading="Lazy" attribute for images and iframes?
This parameter is used for page loading performance purposes. Created so that the site that has many images does not take long to load what makes according to studies mobile users leave the page…
-
-2
votes4
answers47612
viewsA: Pin the footer of an html page and follow the page content
In order for Case to have little content on the page not to scroll to follow the content use {left: 0; bottom: 0;} footer{ position: relative; background-color: red; width:100%; height:48px; }…
-
-2
votes4
answers47612
viewsA: Pin the footer of an html page and follow the page content
A simple and responsive solution would be like this. footer{ position: relative; background-color: red; width:100%; height:48px; left:0; bottom:0; } <header></header> <article>…
-
1
votes4
answers2928
viewsA: Uppercase HTML vs CSS
CSS in this case will only change what the user is seeing. The difference will be the day the collected data need to be sent in UPPERCASE. Since CSS will only change what the user is viewing and not…
-
-2
votes10
answers68840
viewsA: How to make a <div> occupy the entire page width but leave a gap of a few pixels on each side in CSS?
.teste{ background:red; width:100%; margin: auto 5px auto 0px; padding: 8px 0; } <div class='teste'>Teste</div>…
-
1
votes3
answers965
viewsA: List JSON data with Javascript
You can use jQuery to call your json file to display its full list. $(document).ready(function() { function dadosJson() { $.getJSON('dados.json', function(json) { $.each(json, function() { let info…
-
1
votes0
answers48
viewsQ: event $.post ajax alert status
I’m using $.ajax post on jQuery so: $('#btnSave').click(function () { let data = $('#addRunner :input').serializeArray(); $.post('addRunner.php', data, function (json) { if (json.statusF == 'fail')…
-
0
votes1
answer431
viewsQ: Counter Click Javascript Jquery
I am applying image attributes and names via Jquery through an array of images and names. The image below illustrates the images of the loaded array. When I click I display the name of the image…
-
0
votes2
answers56
viewsQ: PHP form does not save
I have this html form: <form id="addRunner" name="addRunner" action="service.php" method="POST"> First Name: <input type="text" name="txtFirstName" id="txtFirstName" value=""…
-
-1
votes1
answer298
viewsQ: How to Set PHP 7 Variable for POST?
I am trying to record information from a form on a basis, but when I Gero the following code below is presented an error in the file saying that: Notice: Undefined index: txtFirstName in…
-
0
votes1
answer59
viewsQ: Javascript clock increment for game
I am creating a JS team to count the time it will take the user to complete the task. I am using setInterval() to run the team but I’m not able to increase to more than (1) the value of min(). This…
-
-1
votes1
answer77
viewsQ: setTimeOut error Uncaught Referenceerror: lightning_one is not defined
I created a Function to generate display effect for a certain time, the images are loaded only in the page load, then Uncaught ReferenceError: lightning_one is not defined as shown below: the…
-
0
votes1
answer35
viewsQ: How to compare if the div with Event click has a class similar to another div selected?
I have a set of div’s with Event click on jQuery. I’m not sure how to compare the clicked div’s if they have the same icon class. I have a div already selected, if the user click on another div in…
jqueryasked Wemerson Nino 90 -
2
votes2
answers648
viewsQ: how to access the class array with jQuery? Take the second class of an element
I’m listing the icons from a list on console.log() they are displayed, however I want to capture only the second classes of icons in a variable, but I don’t know how to access with jQuery the second…
-
1
votes1
answer309
viewsQ: How to use querySelectorAll() to search for a specific tag derived from an element that has an x class?
Someone could help me use the .querySelectorAll() to find all paragraph elements derived from items that have a classe x?
-
1
votes1
answer887
viewsQ: I am not able to finish the merge always appears this error:
fatal: Exiting because of an unresolved conflict. U course-git-blog-project When I merged a branch, it conflicted with the code on the master branch. I correct the code in hand, saved index.html but…