Does anyone know exactly where the problem is? Does anyone know the code without the error? If you know, please write.
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>Click here to view more cat photos.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Ok, Iâm not sure why (because the instructions donât appear to tell you), but the inner text of your p element should first be changed to âSee more cat photos in our gallery.â
Then you need to put anchor tags only around the words âcat photosâ within your p element. You can then add the url as an attribute to the opening anchor tag.
No big deal. We already know that Putinâs communism is working here as well with all its propaganda. Whose goal is to suppress everything that is free. If you start obeying every brainless communist. We know how it will end. If you have an exact solution, you can write it here. And let everyone with their insurance rules go back to their Russian barbarians.
This is not copying, but a solved task. 80% of what we touch here for the first time we will not even remember. Because it is not explained here what it is used for, why it is used, when it is used, no real examples are given. Here is just a dot or the title of the topic, the rest of the travel story will have to be created by yourself from many other sources. Such pages are already programmed by automatically used templates, and in a few years the teachers themselves will no longer be able to explain what that element is used for. (already unable to answer a simple question, whatâs wrong here?)
I think you donât need to squeeze yourself too much into some frames. You just have to make your own music to your own beat. Programming will take years to learn. Like learning 1+1=2 for first graders. Learn will soon learn 1+1=2. And why exactly the obtained result 2 will not be understood by everyone quickly, because it turns out that 0.5+1.5 can get 2 or 4-2=2, or 0001+0001=0010 etc.
The journey will be interesting and very, very long. We are just looking for solutions. So we continue to work.
I respectfully disagree. HTML/CSS is a fundamental first step in programming and this course covers it pretty comprehensively with good step-by-step explanations.
Those who designed the courses understand this stuff inside-out and, having completed the course, I have a pretty solid understanding too. I not only remember all of the HTML elements which were taught but also their purpose and how to use them, along with the many different attributes which they can take.
You appear to have âcompletedâ this challenge by copying the solution from a later challenge, without having any understanding of what the challenge was trying to teach you.
Do you know what anchor tags are, or how they work? If you donât, youâre not going to get much further in your learning as this is pretty basic but important stuff to understand.
Also, from that lesson, we did not learn what it is used for and why exactly it is needed. Here, the tasks require only the correct solution. The older version had a bit of a preview and more explanation. You have to look elsewhere for all the information. I think even simple ChatGPT explains much better. for example:
Anchor tags, or âaâ tags, are used in HTML to create hyperlinks to other web pages or documents. They are often used to navigate between pages on a website, or to link to external resources. Here are a few examples of how anchor tags are used:
Navigation menu: A websiteâs navigation menu is often composed of anchor tags linking to different pages on the site.
Linking to other pages within the same website: Anchor tags can be used to link to other pages within the same website. For example, a âLearn Moreâ button on the homepage that links to an âAbout Usâ page.
Linking to external websites: Anchor tags can also be used to link to external websites. For example, a news website may use anchor tags to link to source articles.
Linking to specific sections on a webpage: Anchor tags can also be used to link to specific sections within the same webpage, using the âidâ attribute and the href attribute.
Downloading files: Anchor tags can be used to trigger a download of a file when clicked. For example, a link to a PDF file.
Email links: Anchor tags can also be used to create links that open the default email client with a pre-populated recipient, subject, and body.
These are just a few examples, but anchor tags can be used in many different ways to create links and improve the user experience on a website.
But did I understand what it meant? Not really yet. Will we use this in the future. I think not, just like many old technologies are no longer used. Not all subjects can be learned and there is no need. Because technology is changing and many things are done automatically. So you donât have to worry too much about using âul or olâ at the beginning. Everything has its own time.
Programming is creativity like a drawing, a movie script or a music hit. Creation also has frames and definitions or rules. But will you use them for a long time? I think not, because you will try to find your voice. Like writing code your own way. I read you donât need to be afraid to try all kinds of methods or tools. Because there are many ways to reach the goal and none of them will be bad. Only through long long practice you will find the right tools, but not during this few hours frecodecamp course. What I am reading here will only be an introduction.
But your comments are useful. Thank you and beautiful creations.
Okay, so who learned to write well then? Did you learn something in this lesson? What?
Step 12
In the previous step you turned the words link to cat pictures into a link by placing them between opening and closing anchor (a) tags. You can do the same to words inside of an element, such as a p element.
In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a) tags around these words.
And what was I supposed to learn from this?
All human learning is through copying and nothing more. A four-year-old child learns this way, and so does an adult. Nothing has changed. Observing, groping and everything only by copying. Here too we are copying or simply trying to replicate a certain sequence of steps. Just like babies first steps. Although maybe itâs an instinctâŚ
And if someone could help solve this problem 12 correctly, they wouldnât have created so many posts about it.
As we have written so much here now, but we still donât have a correct or detailed answer as to how and why that task had to be done exactly that way.
I have never seen a student successfully learn much from relying upon copy pasting. Those learners never get to the point where they can write their own code.
We are working on making the connection between steps 10-11 and 12 clearer. The link between the steps being unclear is a wording issue, not proof that copy pasting teaches you anything.
Well, maybe you are right. But I think itâs not a problem to answer people put anchor (a ) tags around the words cat photos or - a cat photos a-.
Here you have to catch the essence and logic of the question. For native speakers of English, it may be easier for them to understand the task questions and their logic. Here you have to catch the essence and logic of the question.
Simplifying the language in the challenges has been one of our on-going projects. Writing precise technical language that is simple and clear is really difficult.
I donât think there is any connection here. Just certain individual parts. In the beginning, neither a real example nor an explanation of the structure of the page and what we have gathered here is shown.
When children see pancakes, everything is clear to them and then they have questions and interest automatically. But when they see that first a bowl is taken, eggs are beaten, beaten, milk is poured, flour is poured, then the gas is turned on, the pan is placed and heated. We take a spoon, scoop the dough, pour it into a hot pan, fry it until it turns brown, turn it over, wait for the other side to brown, and thatâs it! We can eat. How is it tasty? Very will you cook now? They will clearly answer, yes.
But they wonât understand what that milk is, what that egg is, where it came from, and how it came about. Why exactly they should be used and countless other important things without which we would not have delicious pancakes. I think all those trainings go from the wrong end and there are too many vague skeletons at the beginning.
Connecting all the variables will be possible only at the end after many hours of study. But not after 12 assignments or the whole course. Just like a four-year-old child, eating pancakes baked by his mother every week, he will bake his first pancake maybe at the age of 8, and the others at the age of 30âŚ
The problem here is that many people do not understand programming, but for some reason, when they meet in another language, they are able to talk after a few minutes. Do they start with the meaning of the words or with the structure of the sentence? Here the noun must be and here the verb. Well, no. But they will understand each other. The next day more and more every day. And only maybe after half a year they will start studying the technical parts of the language.
But until then, they will communicate as best they can without those clear technical terms. Therefore, communication with a computer must come from a personâs communicative ability, and not from a machine that needs a precise technical concept of terms.