Categories
Mastering Development

Why does my image in the title bar not work?

I have a Website and I’ve added the following code attempting to add an Image in the Title Bar (https://i.imgur.com/l31G0Dz.png) <link rel="icon" href="https://pbs.twimg.com/profile_images/1302768002652405760/BMzYV07a_200x200.jpg"> When I go to the website it does not show the Image I picked to show, It’s just the default one. My Website: https://rebelcownews.com Full Code: HTML: <DOCTYPE! html> <htmll lang="en"> <head> […]

Categories
Mastering Development

div size after an eventlistener

I was working in this super simple project get really satisfied with the finish work but then CHAN! When I check the functionality of the app I noticed that the firs card, the one of the basic services get’s bigger when the number change and also the third division line of the card change his […]

Categories
Mastering Development

How to insert data based on a checkbox being checked? and how to check whether an E-Mail is in database?

I have two questions regarding my PHP E-Mail contact form. To note, I have a basic understanding of PHP and MySQL (SQL). First, is there a way to insert data based on a checkbox being in a checked state and equal to a certain value? Take a look at my mail.php file. If then checkbox […]

Categories
Mastering Development

Simon game challenge

I want to compare the recent user pattern("userPattern") with the randomly generated pattern("gamePattern").and if userPattern eual to gamepattern I want to enter into next level. Ho to do that? now I have done up to responding to the user’s click. My HTML code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" […]

Categories
Mastering Development

How to fix DataTables paging and search box in php codeigniter?

I’ve been debugging this error and I still can’t see where is the error. I can’t determine the exact error if it is in the view or model or script. Need help to fix this bug. Below are my source code. My issues are the search box is not working and the paging is also […]

Categories
Mastering Development

Why i got blank points on my SVG after animation?

I have little problem with my SVG. When animation is finished then there are blank points on svg text. I put here my code pen with whole code and you can see this on your own. I have to addmit that problem exist only on chrome, opera and edge browsers. Firefox is fine. I checked […]

Categories
Mastering Development

How to get id and restaurant name from json array?

I am trying to get the id and restaurant name or just any specific info from json array. I tried using $id = $jsonZomato[0]["restaurant"]["apikey"]; to get the apikey but it is not working. How can I get specific information from the json array if I could get an example to fetch certain things from json […]

Categories
Mastering Development

The site layout breaks when I make the program smaller

I’m new in html/css and tomorrow I will begin to learn js. I don’t know too much english but I will try to be as clear as possible: when I put the internet tab in half screen, and I scroll right to see the rest of the site, the layout is destroyed in half. Full […]

Categories
Mastering Development

Image cuts off and I am having trouble positioning it

I want to put this picture on my website: However when I do this is how it comes out. Without the full image showing: Here is my code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <link rel="stylesheet" href="style.css"> <title>Sarah’s Calligraphy</title> <style> #bg{ /* […]

Categories
Mastering Development

CSS: button inside flexbox has smaller width than the content

Here’s my code, I’ve simplified the structure. So we can focus on the difference between button and div I have no idea why the text inside button will overflow and be cropped. The button doesn’t grow up to fit the content but the div does. (I find this problem on Windows Chrome, while Firefox seems […]